Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Cutting the top percentage out of a Hash
by Codon
|
|