Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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;


Comment on Re: Sort Hash of Hashes by key value
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-12-27 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls