Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: sorting ip octets

by eclark (Scribe)
on Feb 16, 2005 at 21:34 UTC ( [id://431764]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sort {
        my @a = split(/\./, $a);
        my @b = split(/\./, $b);
    ...
        $a[3] <=> $b[3]
    
    } @list
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-24 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found