You can produce an array of keys sorted as you wish, my @sorted_keys = sort {$hash{$a}->[2] cmp $hash{$b}->[2]} keys %hash; That can subsequently be used in a hash slice.
After Compline,
Zaxo
In reply to Re: sort hashes....
by Zaxo
in thread sort hashes....
by sanchez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |