Do not use the -w switch then,
No warnings work just as well with -w:
C:\test>perl -wE"my $x; say $x; { no warnings 'uninitialized'; say $x +}" Use of uninitialized value $x in say at -e line 1.
In reply to Re^4: Want END block to run except when usage()/--help invocation
by BrowserUk
in thread Want END block to run except when usage()/--help invocation
by CoVAX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |