There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi Monks,
One Quick Question. I sorted a hash by value. If i print the sorted hash in the loop, it is displayed as sorted. If i print the same hash, out of the loop, results are not sorted. Hence, i want to save the results of the sorted hash to another hash table, so that i could print the correct sorted hash even, out of the loop Please tell me, what additional steps are to be added for the given code
In reply to Save the resultant of " hash sorted by values " by sundeep
|
|