XP is just a number | |
PerlMonks |
Re^7: My questions: new to perlby ikegami (Patriarch) |
on Mar 14, 2011 at 22:09 UTC ( [id://893182]=note: print w/replies, xml ) | Need Help?? |
I agree that simply using perl 5.12 gets you most of Perl 5.12. Specifically, you get bug fixes and features that aren't backwards incompatible. For the rest of the features, you need the pragma.
Saying that use 5.012; causes the Perl 5.12 language to be used is hardly convoluted. But no, I wasn't describing use 5.012;, I was talking about strict in Perl 5.12.
Actually, some of the regex and unicode changes require use 5.xxx; because they aren't backwards compatible.
Granted, I forgot that. Let's say it was impossible to export variables. Would you still say that use strict 'vars'; should be done by a linter instead of Perl itself? The point is I think your condition for deciding if something should be done by a linter instead of perl is insufficient. This renders your argument unconvincing.
In Section
Seekers of Perl Wisdom
|
|