Hi Shlomi, > 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. The only case where "use warnings;" might be better is if you're using a braindead shell/OS that doesn't look at the shebang line. Cheers, Thomas -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/