Try another way of expressing the range. Off the top of my head, something like
#!/usr/bin/env perl use warnings; use strict; use Net::IP; my $ip = new Net::IP ('192.168.0/23') || die ; # Loop do { print $ip->ip(), "\n"; } while (++$ip);
where the prefix is bumped up in this case to /23.
In reply to Re: Next subnet
by jakeease
in thread Next subnet
by ag4ve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |