'for' clarification, summary...

2002-11-05 Thread Buddha Buck
Here's my current understanding of what's under discussion for for-loops: Larry wants to eliminate the ; from the RHS of the -, so the only thing for needs to know about the RHS is the number and types of the arguments. This puts the specification about how to generate those arguments on the

Re: 'for' clarification, summary...

2002-11-05 Thread Damian Conway
Buddha Buck wrote: Examples: # process array, one element at a time for array - $x { ... }; Yes. # process array, in pairs for array - $x, $y { ... }; Yes. # process all of a, then all of b, one element at a time for a, b - $x { ... }; Yes. # process a, then b, in pairs (a[0] and