Thomas Bätzler wrote:
> (attribution fixed) Shlomi Fish:
use warnings is preferable to the -w flag.
Not in my book. The command line switch turns on warnings globally, whereas the "use
warnings;" pragma only enables them in the current lexical scope. So by using the
command line switch, I get warnings about crappy third-party code, too.
I strongly prefer "-w" as well, also in the shebang line.
Even knowing the shortcomings of the Perl warnings logic,
that Abigail has written interesting things about:
http://www.google.co.uk/#q=abigail+"no+warnings+'syntax'"
--
Ruud
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/