Just another Perl shrine | |
PerlMonks |
Re^2: sorting a hash by keys, according to preferenceby vindaloo (Novice) |
on Apr 14, 2005 at 01:09 UTC ( [id://447628]=note: print w/replies, xml ) | Need Help?? |
It turns out I was after two things in my question: How to sort the hash the way I wanted and how to sort the hash using a common hand-crafted sort function with the space-ship operator. I am glad to see these working examples for both for my future sorting needs. I may just play around with this sort function to get a handle on how it works. Thanks again!
In Section
Seekers of Perl Wisdom
|
|