my @keys = sort { $hash{$a} <=> $hash{$b} } keys %hash;
is better than mine, cause it tolerates duplicated values! :)
Cheers Rolf
In reply to Re^2: how to put hash key and value in order
by LanX
in thread how to put hash key and value in order
by ulaksh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |