NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
bad idea (Score:1)
It's anti-Perl. Leave aside the logical arguments, like the inability of sysadmins everywhere to update their systems because of their crappy code. When default strictures happen, we'll know that Perl is, finally, in fact dead. It would really limit obfuscation and poetry, after all. Next thing you'll be wanting us to indent blocks by a fixed amount of whitespace. It's fascist!
Re: (Score:1)
Really. All those sysadmins’ existing crappy scripts will magically grow a
use 5.012;line at the top of the script. Amazing.Re: (Score:1)
Cheers,
Steffen
Re: (Score:1)
Re: (Score:1)
Re: (Score:2)
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-12/msg00842.html [mpe.mpg.de]
Not sure what the opposite of a flame is... (Score:1)
I'd enable warnings too
The opposite of a flame is a bucket of cold water (Score:1)
+1 from me (Score:1)
But having "use 5.012" implicitly mean "use strict;" can only be positive as far as I can see.
It upgrades one good practice (using strict) to an even better practice (always declaring minimum Perl version compatibility).