Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Generate Random IP Addresses

by Anonymous Monk
on Feb 28, 2012 at 20:58 UTC ( #956764=note: print w/replies, xml ) Need Help??


in reply to Re^3: Generate Random IP Addresses
in thread Generate Random IP Addresses

Actually, I have a legitimate use for this. I want to compare the accuracy of two competing products, which are essentially large ip range databases. I have both in my DB now, and am writing a script to perform lookups on a large number of random IPs. I am examining those cases where the results do not line up.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://956764]
help
Chatterbox?
[thezip]: What idiom should I use to determine that a directory is empty (for many directories)?
[thezip]: I suppose could check if readdir() returns other than '.' and '..', but that seems ugly.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2017-03-28 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (339 votes). Check out past polls.