2. My first line in the perl program is: #!perl -w (being a Windows-based
server, it doesn't require the full path.  The -w to warn of errors/mistakes
etc.)

I think in Windows, -w isn't enough. The #!perl line is ignored in most windows installations/configurations , and the file association is used instead.


Therefore, you should do this explicately.
use warnings;

Also, with some webservers doing the following as your first line in the script will catch almost all errors. (Works in IPlanet, but not Apache. Not sure about Windows)
BEGIN { print "Content-Type: Text/HTML\n\n"; }





-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to