my $octet = join ",", 1..254; my @result = glob "192.168.{$octet}.{$octet}";
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re: Adding an Entire Class B IP Range to an Array
by merlyn
in thread Adding an Entire Class B IP Range to an Array
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |