develooper Front page | perl.perl5.porters | Postings from May 2021

Re: use v5.36; use warnings;

Thread Previous | Thread Next
From:
Dan Book
Date:
May 28, 2021 23:05
Subject:
Re: use v5.36; use warnings;
Message ID:
CABMkAVXwXUu+wt_+VTc5x3q1_xEUA-EHZrmLUUNf768gxLxJ7w@mail.gmail.com
On Fri, May 28, 2021 at 6:55 PM Ricardo Signes <rjbs@semiotic.systems>
wrote:

> Porters,
>
> Here's an almost simple one:
>
> I propose that use v5.36 turns on, in addition to strictures and the
> feature bundle, warnings.  Specifically, behaves the same as "use warnings".
>

Absolutely, +1000, should have been done years ago.


> I'm torn on whether I think it should behave like the "use vX" behavior of
> strict, whereby "no strict; use v5.30" does NOT enable strictures.
> Probably, just for the sake of reducing the number of exceptions -- but if
> we fold more things into use vX, we need to decide if they all need to be
> tracked this way.
>

I think it's a good idea, this was done for a reason, and I can't think of
a reason someone would write this to turn strict/warnings back on rather
than "use strict; use warnings;".

-Dan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About