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

Re: use warnings ':most'

Thread Previous | Thread Next
Dan Book
June 3, 2021 15:42
Re: use warnings ':most'
Message ID:
On Thu, Jun 3, 2021 at 11:39 AM Tom Molesworth via perl5-porters <> wrote:

> Perhaps this has already been covered:
> Would we have tags for the warnings available with a given Perl version,
> following a similar pattern to
> If so, would we expect that `use v5.36` would enable warnings equivalent
> to `use warnings ':5.36'`, and be (highly?) likely not to enable unexpected
> new warnings in future? ("guarantee" would be overly strong here, maybe in
> future there's a new warnings category that's seen as being something that
> should be turned on by default).

This seems like a lot of infrastructure for something of limited use (but
feel free to propose it as a new feature). Perl has never provided any
guarantees of warnings staying consistent, in documentation or in practice.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About