in reply to
Sorting a hash in one line
Since nobody mentioned it yet: You might find Tie::Hash::Sorted useful.
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...
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (52 votes),