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

RE: Sorting ip addresses quicker

by splinky (Hermit)
on Jul 14, 2000 at 07:49 UTC ( [id://22503]=note: print w/replies, xml ) Need Help??


in reply to Sorting ip addresses quicker
in thread Sorting ip addresses quickly

I think you meant

$x=$_ + $x << 8 for split(/\./, $y);

rather than

$x=$_ + $x * 8 for split(/\./, $y);

*Woof*

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-03-29 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found