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


in reply to Debugging Perl .cgi forms

Ensure that your script is executable by the web server, and that the script is not in DOS format. Both of these have bitten me when working on my web hosting provider's server--where I am unable to view the server logs.

If you also cannot view the logs, try commenting out parts of the script and printing debugging info. This method has helped me sovle problems with troublesome scripts.