This will do the job:
my %HoH = map { delete $_->{FirstNum} => $_ } @AoH;
Be aware that you will loose data if there is duplication of "FirstNum" values.
In reply to Re: Modifying order of a hash
by karavelov
in thread Modifying order of a hash
by monaghan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |