in reply to Re: which loop is better
in thread which loop is better
will work just as wellfor (@arr[0..2]) { $_++; } foreach (my $i = 0; $i <= 2; $i++) { @arr[$i]++; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: which loop is better
by dave_the_m (Monsignor) on Oct 04, 2004 at 11:09 UTC | |
by Joost (Canon) on Oct 04, 2004 at 11:15 UTC |