Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by grep (Monsignor)
on Jul 03, 2007 at 21:36 UTC ( [id://624796]=note: print w/replies, xml ) Need Help??


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

Considering that in the end you would have sorted VALUES not the keys, above array variable name is rather misleading.

I disagree - @sorted_keys contains SORTED KEYS, sorted by the values.
But feel free to call it @keys_sorted_by_value if you feel like it.

Replies are listed 'Best First'.
Re^4: hash sorting/alphabetization issue : country postal codes
by parv (Parson) on Jul 04, 2007 at 04:43 UTC

    Oh! Right you were, and are. Indeed the array name is reasonable and the array does contain sorted keys not the values. I apologise for distrubing the peace.

    I will stand in a corner now for a while ...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://624796]
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-26 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found