in reply to Re: While Loops
in thread While Loops
How about something like this?
foreach $a (0..@data-1) { print or do something ; } ## end of foreach
If you have the length of the array it knows then when to stop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: While Loops
by kennethk (Abbot) on Jan 08, 2013 at 19:29 UTC |