SPUG: English-speak about Perl-speak "for" loops

Jack Foy jack at foys.net
Fri Sep 15 17:49:27 PDT 2006

Michael R. Wolf wrote:
>  for(init; entry-condition; iteration) { block }
>  for loop-variable (list) { block }
> If you use "for" for both Perl-speak styles, how do you English-speak about
> it to avoid ambiguity?

Simple: don't use the first form.  :-)

I assert that using the C-style for-loop is un-Perlish.  In most cases,
if you're numerically indexing your arrays, you're missing a better way
of expressing the code.

Jack Foy <jack at foys.net>

More information about the spug-list mailing list