Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE: IP Address sorting

by japhy (Canon)
on Oct 24, 2000 at 03:26 UTC ( #38052=note: print w/ replies, xml ) Need Help??


in reply to IP Address sorting

jcwren (whose nick I CONTINUALLY mistype as 'jcrewn') suggested I define the limits of this function. It takes domain names, dotted IP addresses, and large decimal numbers. It RETURNS dotted IP addresses though.

require "IPsort.pl"; # assuming that's where you put it @IPs = IPsort(qw( 12.43.12.65 48.23.6.1 4.1.64.23 www.bergen.org 84394239 ));


$_="goto+F.print+chop;\n=yhpaj";F1:eval


Comment on RE: IP Address sorting
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2015-07-06 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (81 votes), past polls