in reply to Re: why need my in a foreach loop?
in thread why need my in a foreach loop?
As you also know way better than I, Perl 6 can get by without this. I don't see when does that "my" do any useful work there. It is not the "my" that defines the scope of this variable so IMHO it is there only to satisfy "use strict".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: why need my in a foreach loop?
by chromatic (Archbishop) on Nov 29, 2010 at 06:18 UTC | |
|
Re^3: why need my in a foreach loop?
by TomDLux (Vicar) on Nov 29, 2010 at 04:27 UTC |