in reply to Re^2: why need my in a foreach loop?
in thread why need my in a foreach loop?
I love that in Perl6 loops automatically create localized variables: (may look familiar to Gabor)
for @names -> $n { say $n; }
Why not backport that feature into Perl5. Maybe only if warnings and strict and features are full on.<?p>
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
|
|---|