my @hosts = map {my $i = $_; map {"192.168.$i.$_"} 1 .. 254} 1 .. 254;
In reply to Re: Adding an Entire Class B IP Range to an Array
by Jaap
in thread Adding an Entire Class B IP Range to an Array
by Dru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |