Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Sorting a hash in one line

by jau (Hermit)
on Jun 21, 2010 at 09:34 UTC ( #845705=note: print w/ replies, xml ) Need Help??

in reply to Sorting a hash in one line

Since nobody mentioned it yet: You might find Tie::Hash::Sorted useful.

Comment on Re: Sorting a hash in one line
Replies are listed 'Best First'.
Re^2: Sorting a hash in one line
by LanX (Canon) on Jun 21, 2010 at 10:53 UTC
    Since nobody mentioned it yet

    Well I linked to another thread mentioning tie mechanisms and Tie::IxHash ;-))

    Seriously, it's such a regular (and boring) FAQ that one could consider text mining mechanisms on the post's text to generate an automated answer or intercept the preview before posting ...

    perldoc -q hash sorted already helps...

    Cheers Rolf

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2015-10-14 00:30 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (319 votes), past polls