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

Re: use v5.36; use warnings;

Thread Previous | Thread Next
From:
Joseph Brenner
Date:
May 28, 2021 22:58
Subject:
Re: use v5.36; use warnings;
Message ID:
CAFfgvXXcdOj6BsHf4z3vZN23ReJb4dFziXQkd+ZV-NLfPhhBhA@mail.gmail.com
I like enabling use warnings when you say "use vX", but I also think
it needs to be easy to shut them off even when you want all the other
"use vX" features-- there's an old Randal Schwartz recommendation to
always disable warnings in production code, because new ones may pop
up on perl upgrade.



On 5/28/21, 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".
>
> 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.
>
> --
> rjbs
>
> --
> To unsubscribe from this group and stop receiving emails from it, send an
> email to doom+unsubscribe@kzsu.stanford.edu.
>

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