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

Re: use warnings ':most'

Thread Previous | Thread Next
From:
Eric Brine
Date:
June 6, 2021 06:44
Subject:
Re: use warnings ':most'
Message ID:
CALJW-qEVY1=VAwxQ_m0oeBgiLn=DUx0DVp6820zXTFgvr_xsmQ@mail.gmail.com
On Sun, Jun 6, 2021 at 2:38 AM Eric Brine <ikegami@adaelis.com> wrote:

> On Wed, Jun 2, 2021 at 7:02 PM Leon Timmermans <fawaka@gmail.com> wrote:
>
>> I would like to propose to add a new warning category, tentatively named
>> "most". This would include everything in :all except warnings that are
>> likely to give false positives. In 5.36 that would be :all minus 'once'
>>
>
> "once" is exactly the kind of warning a newcomer should have enabled.
>
> A user performing advanced symbol table manipulation has no problems
> turning off "once" when needed.
>

I was thinking of "redefine".

But why would you want to turn off "once" warning?!

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