Apr 16, 2001, 12:45 PM
Post #1 of 5
I'm pulling my hair out here...and i pray someone can help.
I'm using cgi and dbi mods, and have a nice little web app. My problem is that occassionaly, i will change some code, and for some reason the script hangs, and the perl.exe just sits on the server until eventually i get a cgi timeout error in the browser. The reason it's so annoying, is that I can't get a grasp on what causes it. For example, At the top of one of the files that I have included in my main script there is a function (sub) that isn't being used anywhere. If I take this function out, the script hangs. A few times if I change a line that looks like so:
and i change it to:
it will correct the problem.
the strangest thing about the problems, is if i run the script command line, it works fine.
I appologize for the rambeling and non-specific question. If there are any tricks or tips that someone can offer to help me debuggin this I'd appreciate it.
(This post was edited by daveh71 on Apr 16, 2001, 12:15 PM)