Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: hash sorting/alphabetization issue : country postal codesby snopal (Pilgrim) |
on Jul 04, 2007 at 00:26 UTC ( [id://624808]=note: print w/replies, xml ) | Need Help?? |
If you have arranged for the incoming data to be provided in your preferred order, you can retain that order in the HASH by using Tie::IxHash. This avoids the entire sort process. I don't know if this is more efficient than the sort process on this size list.
In Section
Seekers of Perl Wisdom
|
|