in reply to Array Problem
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) { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Array Problem
by wanderinweezard (Initiate) on Jul 08, 2005 at 15:28 UTC | |
|
Re^2: Array Problem
by monarch (Priest) on Jul 08, 2005 at 16:19 UTC | |
by ysth (Canon) on Jul 08, 2005 at 17:17 UTC |