Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: hash sorting/alphabetization issue : country postal codes

by hmbscully (Scribe)
on Jul 03, 2007 at 19:59 UTC ( [id://624765]=note: print w/replies, xml ) Need Help??


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

The hash is already in alphabetical order by the values. I sorted those first thing.

I learn more and more about less and less until eventually I know everything about nothing.

Replies are listed 'Best First'.
Re^3: hash sorting/alphabetization issue : country postal codes
by grep (Monsignor) on Jul 03, 2007 at 20:05 UTC
    Hashes are not ordered (well in any order you care about). So I don't quite know what you are referring to.

    but the problem is that the option items are in alphabetical order based on the country codes, not the country names.

    Am I not understanding what you meant by that?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-03-28 13:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found