|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Foreach Loopsby perlfan (Deacon) |
| on Mar 15, 2005 at 19:40 UTC ( #439735=note: print w/ replies, xml ) | Need Help?? |
|
You can have a counter: A slight improvement over holli's in that you can access the entire i-1 previous elements.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||