If people would expend as much effort learning to use the language as the do trying to avoid using it, it would save them so much time:
my $x = [ your input ]; my %y; push @{ $y{ delete $_->{ people_id } } }, $_ for @$x;
In reply to Re: remapping an arrayref of hashrefs to a hashref of array refs
by BrowserUk
in thread remapping an arrayref of hashrefs to a hashref of array refs
by metaperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |