Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by chromatic (Archbishop)
on Feb 08, 2012 at 20:00 UTC ( #952571=note: print w/ replies, xml ) Need Help??


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

What in the world are you talking about?

How do you know the logging module doesn't itself use warnings? How do you know the logging module does anything which would produce the "use of uninitialized value" warning? How do you know the logging module doesn't explicitly deal with the undef case? How do you know the logging module doesn't localize $^W? How do you know the logging module's API doesn't document exactly what it does and why?

It's exceedingly silly to debate the nuances of imaginary code you haven't seen. (People who've studied logic tend to call that a strawman argument.)

... whereas anyone with a Perl 5 released in the past decade-plus can demonstrate the difference between -w and use warnings; as it relates to the use of and warnings reported from modules.


Comment on Re^9: RFC: Tutorial: use strict; now what!?
Select or Download Code
Re^10: RFC: Tutorial: use strict; now what!?
by educated_foo (Vicar) on Feb 08, 2012 at 21:57 UTC
    It's exceedingly silly to debate the nuances of imaginary code you haven't seen...
    And I am exceedingly grateful for your erudite electronic treatise. I guess I don't use the imaginary logging module in your hypothetical example.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2014-11-26 13:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls