My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 49: allow translator flavors in field name list
1 person starred this issue and may be notified of changes. Back to list
 
Reported by funnyso...@gmail.com, Apr 14, 2010
If have:

my $lookup = $resultset->hashmap_multi( 'k' );
my @info = map { { $_->gethash( 'a d' ) } } @{$lookup->{$k}};

where 'd' is a UnixTime.

this results in datetime() format.
to get a different format, say date(), it seems one must:

my $lookup = $resultset->hashmap_multi( 'k' );
my @info = map { { a => $_->a, d => $_->d->date } } @{$lookup->{$k}};

it would be desirable to be able to simply:

my $lookup = $resultset->hashmap_multi( 'k' );
my @info = map { { $_->gethash( 'a d.date' ) } } @{$lookup->{$k}};


Powered by Google Project Hosting