Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: IP Iterator

by camlet (Novice)
on Apr 17, 2008 at 17:21 UTC ( [id://681247]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ip = $_[0]; # your 32-bit int
    $arr[3] = $ip & 255;
    ...
    $arr[1] = $ip & 255;
    $ip >>= 8;
    $arr[0] = $ip & 255;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-24 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found