Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This prints the first IP, but then gives me the following error:use Net::IP; my $ip = new Net::IP ('195.45.6.7 - 195.45.6.19') || die; # Loop do { print $ip->ip(), "\n"; } while (++$ip);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: get all ips within a range
by tachyon (Chancellor) on Sep 16, 2003 at 17:47 UTC | |
|
Re: get all ips within a range
by Anonymous Monk on Sep 16, 2003 at 15:29 UTC | |
by Anonymous Monk on Sep 16, 2003 at 17:21 UTC | |
by Anonymous Monk on Sep 16, 2003 at 20:32 UTC | |
|
Re: get all ips within a range
by fokat (Deacon) on Sep 19, 2003 at 02:52 UTC | |
|
Re: get all ips within a range
by Anonymous Monk on Sep 16, 2003 at 17:10 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |