![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Sorting hash keys by sub hash valuesby ZlR (Chaplain) |
on Mar 31, 2010 at 13:26 UTC ( [id://832043]=perlquestion: print w/replies, xml ) | Need Help?? |
ZlR has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks,
I know i'm being a little lazy here, but i'm still working on cleaning my HoHoH script and it makes my head hurt ! I now have the following hash :
I want to sort the keys according to val, ie get : (item2, item1) since 8A < 9A I've done that before but can find it back, i'm sure you have a gazillion ways of doing it :)
Back to
Seekers of Perl Wisdom
|
|