in reply to Re^3: Opinion: where Perl5 wasn't attractive for me
in thread Opinion: where Perl5 wasn't attractive for me
I think that, in Perl, an automine pragma would be very confusing. Currently, in the absence of strict, Perl auto-declares variables as package (aka our) variables on first use. An automine pragma would turn that on its side by auto-declaring them as local1 (aka my) variables.
Whatever the merits of defaulting variables to local scope might be, doing so in Perl would likely be too confusing.
1 as in "local scope", not "localized package variables".
|Replies are listed 'Best First'.|
Re^5: Opinion: where Perl5 wasn't attractive for me
by LanX (Cardinal) on Nov 19, 2014 at 20:38 UTC