Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: sorting ip octets

by Tanktalus (Canon)
on Feb 16, 2005 at 18:59 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2022-08-19 07:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?