$ perl -MO=Deparse #!perl -w ^D BEGIN { $^W = 1; } - syntax OK
use warnings; instead of -w will stop the warnings since you're using a recent perl.
In reply to Re: Error: Can't use global $^W in "my"
by bmann
in thread Error: Can't use global $^W in "my"
by Likeless
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |