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

Re: use warnings ':most'

Thread Previous | Thread Next
Paul "LeoNerd" Evans
June 8, 2021 23:00
Re: use warnings ':most'
Message ID:
On Sun, 6 Jun 2021 18:40:29 -0400
Dan Book <> wrote:

> This is already a feature (recently added) except that it won't enable
> warnings you didn't specify explicitly:

Surely a oneline fix for that:

  unshift @args, ":all" if @args and $args[0] =~ m/^-/;

> But this doesn't address the issue at hand, which is adjusting what is
> enabled by default by "use warnings;" or "use VERSION;".


Paul "LeoNerd" Evans      |  |

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