You already have key values, and you need to sort them, not the items they refer to in the hash.@uniq = sort {$a <=> $b } keys %seen;
In reply to Re: Sorting a hash. What am I doing wrong?
by Anonymous Monk
in thread Sorting a hash. What am I doing wrong?
by mndoci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |