I already have the fatalsToBrowser in. Still no error coming back. The browser stops loading the page after about 2 seconds. That section of code normally takes longer. I had this sub where this large loop takes place. I commented out almost everything in the loop except about 20 lines of code and it did run. What I've tried since was wrapping the call to that sub in a loop itself (1 to 100) to see if calling the sub (with just a few lines) would kill the script as before. It did. I put in the outer loop a check to exit if the outer loop hit a certain iteration. Looks like it dies each time on the 5th iteration. There's hardly anything in the sub now so why it fails has me puzzled. Any ideas? Thanks by the way for the response.
There are about a gazillion of possibilities why a script might
simply terminate prematurely without producing an error, i.e. not
produce any content (blank page)... — Without seeing the code,
it's hard to come up with specific help :)
Try putting in print statements at various places in your script to narrow
down on where/when it quits.
Does the script work when run from the commandline? What error does it die width? You can test cgi scripts from the commandline, google for "perl cgi test commandline".