http://www.perlmonks.org?node_id=740277


in reply to Re^3: Hard syntax error or disambiguable parsing?
in thread Hard syntax error or disambiguable parsing?

Personally, the whole 'unavoidable implicit localisation' of for loop variables smacks of an accidental implementation bug that got post-facto ligitimisation via Marketeer Maintainenance: The re-branding of bugs as features.
Indeed. The original designer of Perl ought to have repented long ago and designed a better language as penance. :-)

When I look at this whole discussion, I see:

Perl 5: A loop variable is defined as BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH except when BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH except nowadays you should really BLAH BLAH BLAH BLAH no it isn't yes it is no it isn't BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH...

Perl 6: A loop variable is simply a formal parameter to a block.