Hello, fellow monks:
After reading another node in which the first response informs OP of the value of:
use strict; use warnings;
I had a thought for a modification for the next version of perl--specifically to run automagically with strictures and warnings enabled. Obviously, you'll want the ability to override it for certain things, so we could have a command-line switch to turn it off. This way, we'd still be able to see when people aren't using strict and warn, and lazy people will have less opportunity to skip that step. Of course there are drawbacks: We won't have as many responses to SOPW postings.... ;^) Another is that it would make many programs suddenly break or print gadzillions of unexpected messages.
I've used Super Search to try to learn from previous discussions, but <voice genre="Bad kung-fu move" character="Martial Arts Master">My Script-fu is very bad. I must train for 10 years.</voice> So I likely haven't found the best discussion on the topic.
...roboticus
off to the woods to punch trees for 10 years.
UPDATE: Added 'another' downside that I didn't think of in the first pass. (Much worse downside than I expected.) Thanks, Mutant!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: RFC: Suggestion for future version of perl
by Corion (Patriarch) on Aug 03, 2007 at 11:23 UTC | |
by naikonta (Curate) on Aug 03, 2007 at 15:15 UTC | |
by Mutant (Priest) on Aug 03, 2007 at 11:29 UTC | |
Re: RFC: Suggestion for future version of perl
by Mutant (Priest) on Aug 03, 2007 at 11:24 UTC | |
Re: RFC: Suggestion for future version of perl
by moritz (Cardinal) on Aug 03, 2007 at 12:02 UTC | |
Re: RFC: Suggestion for future version of perl
by Steve_p (Priest) on Aug 06, 2007 at 15:54 UTC | |
by TimToady (Parson) on Aug 06, 2007 at 18:11 UTC |