Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 about the Monastery: (7)
As of 2014-12-21 14:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (106 votes), past polls