Not sure about orthodoxy, but how about...
my %cases; push(@{$cases{$_->{examiner}}}, $_) foreach(@$all_cases); $case_list = [ map { { examiner => $_, casedata => $cases{$_} } } keys %cases ];
In reply to Re: Cleaner build of an AoH for nested loop?
by ig
in thread Cleaner build of an AoH for nested loop?
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |