Hello, fellow monks:

After reading another node in which the first response informs OP of the value of:

use strict; use warnings;

I had a thought for a modification for the next version of perl--specifically to run automagically with strictures and warnings enabled. Obviously, you'll want the ability to override it for certain things, so we could have a command-line switch to turn it off. This way, we'd still be able to see when people aren't using strict and warn, and lazy people will have less opportunity to skip that step. Of course there are drawbacks: We won't have as many responses to SOPW postings.... ;^) Another is that it would make many programs suddenly break or print gadzillions of unexpected messages.

I've used Super Search to try to learn from previous discussions, but <voice genre="Bad kung-fu move" character="Martial Arts Master">My Script-fu is very bad. I must train for 10 years.</voice> So I likely haven't found the best discussion on the topic.

...roboticus

off to the woods to punch trees for 10 years.

UPDATE: Added 'another' downside that I didn't think of in the first pass. (Much worse downside than I expected.) Thanks, Mutant!


In reply to RFC: Suggestion for future version of perl by roboticus

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.