No such thing as a small change | |
PerlMonks |
Re: How to debug CGI scripts?by davorg (Chancellor) |
on Aug 25, 2006 at 13:25 UTC ( [id://569574]=note: print w/replies, xml ) | Need Help?? |
There is nothing complex about debugging a CGI program. It takes input either from the environment (in the case of a GET request) or from stdin (in the case of a POST) and writes output to stdout. So you just need to set up the correct environment variables and then you can step through your program debugging it with the standard Perl debugger.
-- <http://dave.org.uk> "The first rule of Perl club is you do not talk about
Perl club."
In Section
Seekers of Perl Wisdom
|
|