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.
In reply to Re^9: RFC: Tutorial: use strict; now what!?
by chromatic
in thread RFC: Tutorial: use strict; now what!?
by Xiong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |