in reply to Re: Perlplexation - foreach shoulda Known
in thread Perlplexation - foreach shoulda Known
Is there a special variable that tracks what $i is tracking in that example?No. If you want that, use a C-style for loop. A reason not to have an special variable with an interation counter: how should that work with nested loops?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perlplexation - foreach shoulda Known
by Riales (Hermit) on Apr 13, 2012 at 20:41 UTC | |
by JavaFan (Canon) on Apr 13, 2012 at 21:47 UTC | |
by Riales (Hermit) on Apr 13, 2012 at 22:04 UTC | |
by JavaFan (Canon) on Apr 14, 2012 at 01:19 UTC |