Debugging a CGI Script

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: George Toft
Dátum:  
Tárgy: Debugging a CGI Script
Hi Vic,

Victor Odhner wrote:
[snip]
> Debugging at the command line allows you to use
> the -w option (which you should NOT use in a
> production CGI), and even the Perl debugger, to
> diagnose problems in your CGI. This is especially
> needed if the script is aborting on you, in which
> case the Apache error log often isn't a lot of help.


Can you expound on this? My first Perl/CGI book said you should
always use the -w flag in a CGI script for security reasons.

Thank you.

George