in reply to Re^2: accessing hash of arrays
in thread accessing hash of arrays
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.
|
|---|