By the way, that's not an associative array. It's a list of lists (see perllol and perldsc).for my $rec ( sort { $a->[4] <=> $b->[4] } @array ) { ## Now say $rec->[4], $rec->[3], etc. }
In reply to Re: Sorting an Associative Array?
by btrott
in thread Sorting an Associative Array?
by target
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |