my %hash = ( 4 => 10, "mango" , 2 => 04, "banana" , 3 => 20, "apple" );
You use values to turn your hash into an array of array references. Then you use map to turn this array into an list of the numbers. Finally you use sort to sort that list.
In reply to Re^3: accessing hash of arrays
by rovf
in thread accessing hash of arrays
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |