Issue 48: gethashref()
Reported by funnyso...@gmail.com, Apr 14, 2010
If have:
my $lookup = $resultset->hashmap_multi( 'k' );
my @info = map { $_->gethash( 'a b c' ) } @{$lookup->{$k}};

then get @info as a flattened array.  so seems one must:
my $lookup = $resultset->hashmap_multi( 'k' );
my @info = map { { $_->gethash( 'a b c' ) } } @{$lookup->{$k}};

to cue the gethash() return value.

therefore, consider a convenience wrapper gethashref()
so client code remains clean.

Apr 14, 2010
#1 funnyso...@gmail.com
(No comment was entered for this change.)
Labels: -Priority-Medium Priority-Low