Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Save the resultant of " hash sorted by values "

by wind (Priest)
on Mar 23, 2011 at 18:09 UTC ( [id://895068]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use strict;
    ...
        keys %ipaddr;
    
    print "$ipaddr{$_}\t$_\n" for @sortedKeys;
    
  2. or download this
    192.168.0.1     a
    192.168.0.3     b
    ...
    192.168.1.1     f
    192.168.2.1     d
    192.168.100.1   e
    
  3. or download this
    192.168.0.1     a
    192.168.0.200   c
    ...
    192.168.1.1     f
    192.168.100.1   e
    192.168.2.1     d
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-24 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found