http://www.perlmonks.org?node_id=845705


in reply to Sorting a hash in one line

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

Replies are listed 'Best First'.
Re^2: Sorting a hash in one line
by LanX (Saint) 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