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.
In reply to Re^3: why need my in a foreach loop?
by TomDLux
in thread why need my in a foreach loop?
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |