develooper Front page | perl.perl5.porters | Postings from January 2020

Re: 'use warnings' with exceptions

Thread Previous | Thread Next
Dan Book
January 27, 2020 15:40
Re: 'use warnings' with exceptions
Message ID:
On Mon, Jan 27, 2020 at 6:19 AM David Cantrell <>

>   use warnings qw(-foo -bar);
> to mean "import all the warnings except foo and bar". But it seems not
> to be. Before I put fingers to keyboard and implement it does anyone
> think it's a terrible idea?

I like the idea, but I think first we need to resolve the question, all
warnings or default warnings? (It's already a difficulty to add new
warnings without making them default, let's not make it harder...)


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