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

Re: use warnings ':most'

Thread Previous | Thread Next
Leon Timmermans
June 6, 2021 20:30
Re: use warnings ':most'
Message ID:
On Sun, Jun 6, 2021 at 10:15 PM Dan Book <> wrote:

> On Sun, Jun 6, 2021 at 4:03 PM Ricardo Signes <>
> wrote:
>> …and I still think that "use v5.X" should mean "use warnings 'default'"
>> and that default should exist.
>> I think it should mean what "all" means now, though, including "once."
>> Let's first *create* default, meaning all the current warnings, then we
>> can separately discuss what warnings might get excluded?
> I don't think 'default' is a good name for it, since it's already used to
> describe warnings which are enabled without any use of the warnings pragma
> (e.g. severe and deprecation warnings).
> -Dan

Agreed. Probably someone can come up with a better than than 'most', but
'default' is kind of confusing (and 'standard' may also be)


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