Re: Question about "for" loop

2002-11-01 Thread Piers Cawley
<[EMAIL PROTECTED]> writes: > for @a -> $x, $y { ... $x is topic ... } > > for @a ; @b -> > $x, $y ; $z { ... WHAT is topic ? ... } > > what is topic in multi stream loop ? The first argument to the sub. Always. Unless you do 'is topic' after a different arg. So, in the example giv

Re: Question about "for" loop

2002-10-31 Thread Allison Randal
On Fri, Nov 01, 2002 at 02:40:08AM +0200, [EMAIL PROTECTED] wrote: > > for @a -> $x, $y { ... $x is topic ... } > > for @a ; @b -> > $x, $y ; $z { ... WHAT is topic ? ... } > > what is topic in multi stream loop ? Always the first, so $x in both. Unless you specify otherwise:

Question about "for" loop

2002-10-31 Thread fearcadi
for @a -> $x, $y { ... $x is topic ... } for @a ; @b -> $x, $y ; $z { ... WHAT is topic ? ... } what is topic in multi stream loop ? arcadi