in reply to Re: RE: My favorite looping mechanism in Perl is:
in thread My favorite looping mechanism in Perl is:
Personally, I find for-as-foreach more useful:
Try make:
efficiently do something like:for my $i (0 .. $#array) { ... }
for ($i=0; $i < @array; $i += ROWSIZE) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: My favorite looping mechanism in Perl is:
by jdporter (Paladin) on Jun 25, 2012 at 00:35 UTC | |
by sauoq (Abbot) on Jun 25, 2012 at 21:29 UTC | |
by Anonymous Monk on Jun 25, 2012 at 13:54 UTC |