Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Generate Random IP Addresses

by Nkuvu (Priest)
on Sep 08, 2004 at 02:13 UTC ( #389262=note: print w/replies, xml ) Need Help??


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

The only potentially good reason I can think of is to test your IP-matching regexen. That is, if you're against using Regexp::Common::net.

Replies are listed 'Best First'.
Re^4: Generate Random IP Addresses
by Anonymous Monk on Feb 28, 2012 at 20:58 UTC
    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://389262]
help
Chatterbox?
[Lady_Aleena]: Now I will see if my perl-fu is as bad as I think it is.
[shmem]: ah, geany uses its own idea of tags. Ah well...
[Lady_Aleena]: My perl-fu is bad.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-04-27 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (506 votes). Check out past polls.