Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 (Chancellor) 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 about the Monastery: (7)
As of 2015-11-28 21:05 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (745 votes), past polls