Welcome to the Monastery | |
PerlMonks |
Re: Cutting the top percentage out of a Hashby Codon (Friar) |
on Apr 13, 2006 at 18:35 UTC ( [id://543177]=note: print w/replies, xml ) | Need Help?? |
Hashes aren't stored sorted in Perl. You can sort the data bofore you put it in the hash, but the data is stored in an arbitrary order. If you need the contents of the hash sorted, you need to the sort the data as you pull it from the hash.
Ivan Heffner Sr. Software Engineer, DAS Lead WhitePages.com, Inc.
In Section
Seekers of Perl Wisdom
|
|