In most other compiled languages, you get all errors and some number of warnings at compile time, and then you have the ability to vary the number of warnings.

As I understand things (never used it), strict causes things that wouldn't otherwise have been errors to be errors and is recommended. I think this is a bad idea. Better to have anything that is that dangerous always be an error. Ask yourself: is it an error or isn't it?

Warnings on the other hand, should have variable levels. Pick a few things that generally are bad bad errors but might be ok and use that as a starting point, then leave it up to the user to turn them all on or all off.

Can you tell I code more in C than Perl? :-)
----
May your tongue cleave to the roof of your mouth with the force of a thousand caramels.

In reply to Learn from what's out there! by DentArthurDent
in thread use sloppy ;-) by cLive ;-)

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.