BTW..I haven't seen a do/while loop since my C++ class in college. I wasn't even aware Perl had one.use Net::IP; my $ip = new Net::IP ('192.168.1.1 - 192.168.254.254') || die; do { print $ip->ip(), "\n"; } while (++$ip);
In reply to Re^2: Adding an Entire Class B IP Range to an Array
by Dru
in thread Adding an Entire Class B IP Range to an Array
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |