michellem has asked for the wisdom of the Perl Monks concerning the following question:
In finally fixing this problem regarding hanging scripts that have references, I determined exactly what the problem was. Basically, it has to do with warnings. If I have warnings turned off, the script doesn't hang. The problem is that perl is trying to warn me about using an undefined variable in a particular expression - (the one that I had determined was the problem). The strange thing is that the warning never makes it into the error log, and the script just simply hangs.
Has anyone else seen this sort of behavior before? This seems to happen with Apache 2.0, and not 1.3 (I'm using mod_cgi, in these situations). I like to use warnings, it helps me debug, but I've pretty much had to turn them off.
Thanks!Michelle
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Odd behavior: CGI and warnings
by mandog (Curate) on Oct 30, 2003 at 03:24 UTC | |
by michellem (Friar) on Oct 30, 2003 at 15:03 UTC | |
|
Re: Odd behavior: CGI and warnings
by jeffa (Bishop) on Oct 30, 2003 at 03:54 UTC | |
by michellem (Friar) on Oct 30, 2003 at 15:05 UTC | |
|
Re: Odd behavior: CGI and warnings
by rdfield (Priest) on Oct 30, 2003 at 09:48 UTC |