When I compile but do not execute the script with a 'perl -cw filename.cgi' command, Perl reports the syntax is 'OK'. And when I run the script from the command line, everything runs just fine, too. Yet, when I access the form with my browser, I get the dreaded "Internal Server Error". Needless to say, it's a real pain trying to find my bugs without a report of the line number is causing the problem.
Question 1: Why is this happening?
Question 2: Is there a workaround to this problem that will help me effectively debug my script?
In reply to Debugging Perl .cgi forms by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |