This is making the index variable into an a wrapper object. Since the underlying value can't (or shouldn't) know which of the n containers it is in. <chaim> >>>>> "JSD" == Jonathan Scott Duff <[EMAIL PROTECTED]> writes: JSD> Interesting. I must have missed this. I'm not wild about the syntax, JSD> but I like the idea. If everything become objects under-the-hood, JSD> then we could have: JSD> for $a (@array) { print "$a is at $a->index\n"; } JSD> No, I'm not wild about that either, but it's an idea. -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- Re: RFC 120 (v2) Implicit counter in for statements, p... Steve Simmons
- Re: RFC 120 (v2) Implicit counter in for statemen... John McNamara
- Re: RFC 120 (v2) Implicit counter in for stat... Jonathan Scott Duff
- Re: RFC 120 (v2) Implicit counter in for ... John McNamara
- Re: RFC 120 (v2) Implicit counter in for stat... Steve Simmons
- Re: RFC 120 (v2) Implicit counter in for stat... David L. Nicol
- Re: RFC 120 (v2) Implicit counter in for ... Jonathan Scott Duff
- Re: RFC 120 (v2) Implicit counter in ... Tom Christiansen
- Re: RFC 120 (v2) Implicit counte... Jonathan Scott Duff
- Re: RFC 120 (v2) Implicit co... Tom Christiansen
- Re: RFC 120 (v2) Implicit counter in ... Chaim Frenkel
- Re: RFC 120 (v2) Implicit counte... David L. Nicol
- Re: RFC 120 (v2) Implicit counter in for stat... Johan Vromans
- Re: RFC 120 (v2) Implicit counter in for ... Tom Christiansen
- Re: RFC 120 (v2) Implicit counter in for statements, p... John McNamara