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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.