Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^5: RFC: Tutorial: use strict; now what!?

by Eliya (Vicar)
on Feb 08, 2012 at 18:21 UTC ( #952549=note: print w/ replies, xml ) Need Help??


in reply to Re^4: RFC: Tutorial: use strict; now what!?
in thread RFC: Tutorial: use strict; now what!?

Well, "perl -w" is "enabling warnings", too.   I don't specifically care whether people use "use warnings", "-w" on the command line, or "-w" on the shebang line, as long as they do enable warnings when appropriate.


Comment on Re^5: RFC: Tutorial: use strict; now what!?
Select or Download Code
Re^6: RFC: Tutorial: use strict; now what!?
by educated_foo (Vicar) on Feb 08, 2012 at 18:32 UTC
    "When appropriate" is key. strict is useful (or at least harmless) most of the time; warnings is harmful more often, and useful less often. My point is that warnings can be helpful for finding bugs, but can also force you to change working code for no good reason. Don't use warnings; unless you understand what it does.

    EDIT: Whee! Let's play the downvote game! If you want upvotes, it's important to follow Perlmonks dogma.

      I downvoted you -- not for your opinion on warnings, but for your crackpot "perlmonks dogma" quip.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://952549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-09-20 06:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (155 votes), past polls