UPDATE: it was a typo. I think nothingmuch meant
my $sorted = [ sort { $a->{under} <=> $b->{under} || $a->{order} <=> $b->{order} } @$aoh ];
In reply to Re^2: Sorting AoH by two keys
by tphyahoo
in thread Sorting AoH by two keys
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |