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

use warnings ':most'

Thread Next
From:
Leon Timmermans
Date:
June 2, 2021 23:02
Subject:
use warnings ':most'
Message ID:
CAHhgV8i6CxTmdJiPQz+L3vMba0VoT2TEF_raUpfb5g9J6K__YA@mail.gmail.com
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

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