Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Save the resultant of " hash sorted by values "

by citromatik (Curate)
on Mar 23, 2011 at 17:21 UTC ( #895054=note: print w/replies, xml ) Need Help??

in reply to Save the resultant of " hash sorted by values "

When you sort a hash to output, you are really sorting temporarily the keys or the values, not the underlying hash.

To get a sorted hash try for example Tie::Hash::Sorted


  • Comment on Re: Save the resultant of " hash sorted by values "

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895054]
[karlgoethebier]: shmem: Vielleicht hat er in den Bollerwagen gebrochen?
[karlgoethebier]: shmem:Ach so. Bollerwagen ist eigentlich was für Kinder. Bei uns fahren sie mit Traktoren und Feuerwehrwagen rum...
[shmem]: karlgoethebier: here abouts people are sitting in big tents, gulp beer and ingest badly scorched chicken and sausages while (not) listening to afwul musik
[shmem]: *awful
[choroba]: panem et circenses

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-05-25 12:42 GMT
Find Nodes?
    Voting Booth?