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

Re: use warnings ':most'

Thread Previous | Thread Next
From:
Graham Knop
Date:
June 8, 2021 23:59
Subject:
Re: use warnings ':most'
Message ID:
CAM=m89Es8AOt=QaHiUgT3x3ZZfti1+OXL-C1ZT2Vug10w9A6Gg@mail.gmail.com
Here's another thread with discussion after the previous attempt to
implement this:
https://www.nntp.perl.org/group/perl.perl5.porters/2014/12/msg224127.html

On Wed, Jun 2, 2021 at 6:21 PM Paul "LeoNerd" Evans
<leonerd@leonerd.org.uk> wrote:
>
> On Thu, 3 Jun 2021 01:02:25 +0200
> 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', but I can imagine more warnings being added to :all in
> > the future that wouldn't be appropriate for :most.
> >
> > Secondly, I want «use warnings» without a tag to do :most instead of
> > :all, and likewise «use 5.36;».
> >
> > Leon
>
> An excellent idea.
>
> In fact it was an excellent idea in 2015 when RJBS suggested it:
>
>   https://www.nntp.perl.org/group/perl.perl5.porters/2015/10/msg231858.html
>
> Twice
>
>   https://www.nntp.perl.org/group/perl.perl5.porters/2015/06/msg228400.html
>
> Nay, three times:
>
>   https://www.nntp.perl.org/group/perl.perl5.porters/2015/01/msg225066.html
>
> and other times by other people going back years.
>
> I agreed back then and I agree now.
>
> Maybe this time around we'll get it off the ground? Good luck...
>
> --
> Paul "LeoNerd" Evans
>
> leonerd@leonerd.org.uk      |  https://metacpan.org/author/PEVANS
> http://www.leonerd.org.uk/  |  https://www.tindie.com/stores/leonerd/

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