[ABE.pm] 'for' statement Q
Ricardo SIGNES
perl.abe at rjbs.manxome.org
Fri Aug 15 11:16:47 PDT 2008
* Walt Mankowski <waltman at pobox.com> [2008-08-15T14:13:42]
> They're required for C-style for loops, but you usually don't need to
> use C-style for loops in Perl. The syntax with the single list
> argument is much more common.
...and at least in my experience, writing 'for' is more common than 'foreach'
in all circumstances, because you save four keystrokes.
--
rjbs
More information about the ABE-pm
mailing list