Coworker #2 notes that I can have the best of both worlds, developing in warnings and sending out to production without warnings (see ENVIRONMENT or PERL5OPT in perlrun).

Oh, c'mon! This comes out quite so often... it seems like (some) people thinks that code in production is not code that should be further maintained any more, possibly by other people. How is code commited out into production? Do they expect one to comment the use warnings; line just before claiming his code to be production ready and to uncomment it on next development cycle? And what if the next developer to take over the code does not know about this "tradition"? (Let's hope he'll be of the school of thought it must be uncommented forever...) Much better to leave it as it is and just like quite everybody here has been suggestiong, (make it warnings free and) adopt a logging system for the wanted warnings. That's how I've seen things done at my last job, and more serious warnings and errors triggered more "invasive" means to draw attention, from emails to groups of people to sms'es to their personal phones.


In reply to Re: Warnings and Strict in Production/Performance by blazar
in thread Warnings and Strict in Production/Performance by deep submerge

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.