On Sep 11, 2011, at 1:00 AM, Gerard Stainsby via RT wrote:
Show quoted text> while modules obviously require an explicit
>
> use warnings;
>
> because they are not directly invoked, the perl interpreter
> parses the #!/usr/bin/perl line of scripts, and turns on warnings
> if -w is specified.
The warnings pragma is a much better way to activate warnings than the -w flag. See
http://perldoc.perl.org/perllexwarn.html for details (especially the section: What's Wrong With "-w").
-Jeff