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

Re: use warnings ':most'

Thread Previous | Thread Next
From:
Dan Book
Date:
June 3, 2021 15:42
Subject:
Re: use warnings ':most'
Message ID:
CABMkAVXfpVUOYqUoqwUcSe-gBn20w0C7+GD-8cBaZyFU5rXfvA@mail.gmail.com
On Thu, Jun 3, 2021 at 11:39 AM Tom Molesworth via perl5-porters <
perl5-porters@perl.org> 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 feature.pm?
>
> 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.

-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