Again, they said that no strict and no warnings are still possible.

Reverting the new defaults is possible for v7, but they explicitly said it would not necessarily be true for v8. If Perl resumes its pre-5 version pace, that's only a few years away. Even if reverting the defaults remains possible, the programs where strict and warnings are least convenient are 5-line throw-away programs run in implicit -n or -p loops, where turning them off or saying use vars qw// is just getting in the way for no benefit. For one-liners, it could mean the difference between using Perl and not bothering. I claim (and don't appear to be alone, looking at p5p), the better tradeoff is to put use v7 in a file and get all the new defaults. I already use use v5.20 or whatever in my longer scripts, so it seems totally natural, but I guess according to Sawyer almost nobody does this.

Re-watching the p7 talk now, again, I really don't like how certain patterns are labelled "bad." The Perl I know does not get overly opinionated on how I write things. These talks bother me enough to crawl out of the woodwork and ask the Monks if I'm wrong to be concerned. Maybe I am wrong.


In reply to Re^5: Modernizing the Postmodern Language? by WaywardCode
in thread Modernizing the Postmodern Language? by WaywardCode

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.