Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: hash sorting/alphabetization issue : country postal codes

by snopal (Pilgrim)
on Jul 04, 2007 at 00:26 UTC ( [id://624808]=note: print w/replies, xml ) Need Help??


in reply to hash sorting/alphabetization issue : country postal codes

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.

  • Comment on Re: hash sorting/alphabetization issue : country postal codes

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://624808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-23 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found