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>