in reply to sort question
my @array = sort { $entry{$table}{$a}{RANK} cmp $entry{$table}{$b}{RANK} } keys %{$entry{$table}};
Explanation of the code is left as an exercise for the reader.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sort question
by salva (Canon) on May 18, 2005 at 07:54 UTC |