http://qs321.pair.com?node_id=53975


in reply to use warnings vs. perl -w

Under Windows you should start all of your scripts with

#!/usr/bin/perl -w
Surprised? Note that this won't tell the operating system to look for perl.exe in the /usr/bin directory. It will tell perl to turn on warnings, even on Windows, even without Apache. Oh, when using Apache, you'd want the real path to perl.exe instead of /usr/bin/perl, since, as you know, Apache looks at the #! line.

I don't use warnings as that will prevent my code from compiling prior to Perl 5.6 and it is still way too early to yell at anyone for running pre-5.6 versions of Perl. (:

        - tye (but my friends call me "Tye")