Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Sort Hash of Hashes by key value

by philipbailey (Chaplain)
on Mar 14, 2011 at 19:24 UTC ( #893117=note: print w/replies, xml ) Need Help??


in reply to Sort Hash of Hashes by key value

Something like this should do it:

use Data::Dumper; print Dumper $_ for sort { $servlist{$a}{volname} cmp $servlist{$b}{vo +lname} } keys %servlist;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://893117]
help
Chatterbox?
[Eily]: nice post count marinersk
[Eily]: I also like that this number appears right below "Priest"
[marinersk]: LOL OMG. I may have to create a new account and leave this one here.
[marinersk]: Or maybe I'll just not ever post again. That would make several Monks happy.
[hippo]: :-)
[Eily]: or you can set 999 as your next goal :P

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-05-29 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?