Shawn Corey misstated the issue, it isn't that -w can't be turned off, the
problem is that it is turned on globally rather than lexically. That is, it
forces warnings onto modules that may have been designed to not use
warnings:
$ cat T.pm
package T;
sub foo {
my $x = shift;
#
On Sun, 2017-07-02 at 11:16 -0400, Shawn H Corey wrote:
> On Sun, 2 Jul 2017 14:29:25 +0200
> Eric de Hont wrote:
>
> > What it boils down to: use warnings as well as -w works, but -w isĀ
> > considered old fashioned.
>
> The problem with -w is that it can't be turned