Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Need a better way to break out a range of addresses...

by sailortailorson (Scribe)
on Mar 28, 2007 at 20:17 UTC ( [id://607096]=note: print w/replies, xml ) Need Help??


in reply to Re: Need a better way to break out a range of addresses...
in thread Need a better way to break out a range of addresses...

So, if you put the example code in a file called Iteratedriver.pl, then invoke it with a couple of your examples (my version of Windows requires me to invoke with 'perl' leading any command with args:

C:\Documents and Settings\martyg\My Documents\my scripts\Perl>perl Ite +ratedriver.pl "172.<-{19..21}->.254.<-{2..3}->" "192.168.1.<-{1..3}-> +" 172.19.254.2 172.19.254.3 172.20.254.2 172.20.254.3 172.21.254.2 172.21.254.3 192.168.1.1 192.168.1.2 192.168.1.3 C:\Documents and Settings\martyg\My Documents\my scripts\Perl>

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-11-04 07:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    chatterbot is...






    Results (19 votes). Check out past polls.