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

Re: 'use warnings' with exceptions

Thread Previous | Thread Next
Karen Etheridge
January 29, 2020 16:57
Re: 'use warnings' with exceptions
Message ID:
On Mon, Jan 27, 2020 at 9:26 AM David Cantrell <> wrote:
> So, this:
>   use warnings qw(-foo -bar);
> would be equivalent to:
>   use warnings qw(all);
>   no warnings qw(foo bar);

I don't see "all" in the original case you are working from -- "use
warnings;" is different from "use warnings 'all';".

use warnings qw(-foo -bar);  should be equivalent to use warnings; no
warnings 'foo', 'bar';.

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