Re: RFC 120 (v2) Implicit counter in for statements, possibly $#.

[email protected] (John McNamara) Tue, 29 Aug 2000 14:53:32 +0100
Newsgroups perl.perl6.language.flow
Message-ID <[email protected]>
At 08:19 29/08/00 -0500, Jonathan Scott Duff wrote:
> > As far as I can see the current consensus is as follows:
> >      1. Implicit variable: nice but not really worth the trouble.
> >      2. Explicit variable between foreach and the array: might conflict
> >         with other proposals.
> >      3. Explicit counter in the body of the for/each loop: a clean
> >         solution but requires a new or reused function.
>
>What happened to explicit variable(s) *after* the list?
>
>         for (@array) $index { ... }

Forgot it. :) I'll put it in the summary.

John McNamara
--
"Something tells me we aren't programming in Pascal anymore, Toto."