in reply to Of foreach loops and counting
foreach (0..$#array){ # do stuff, $_ holds iteration num. }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Of for each loops and counting
by turnstep (Parson) on Aug 09, 2000 at 20:27 UTC | |
|
RE: Re: Of foreach loops and counting
by Cirollo (Friar) on Aug 09, 2000 at 19:44 UTC |