This will loop from 1 to 254, perhaps not what you want. Alternatives:$j = 1 until ($j == 255) { ... $j++; ... }
or$j = 1; while ($j < 256) { ... }
Also consider Net-Ping.for my $j (1..256) { }
In reply to Re: Array Problem
by ysth
in thread Array Problem
by wanderinweezard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |