Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: sorting ip octets

by Tanktalus (Canon)
on Feb 16, 2005 at 18:59 UTC ( [id://431680]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @ips = qw(
      127.0.0.1
    ...
    } @ips;
    
    print map { $_.$/ } @sorted;
    
  2. or download this
    my @sorted = map {
      $_->[1];
    ...
        $_
      ]
    } @ips;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found