If a Perl CGI script is called from an HTML, but the CGI has a bug which causes an infinite loop, why does the process continue even though Netscape/IE reports that the "page cannot be displayed". This leaves zombie processes when programmers make mistakes.
For instance, say you neglect to put in a "(last) if (eof)" statement in a "while(1)" read loop (bad, bad, person!!), the process continues in an infinite loop and the programmer is none the wiser, leaving the poor processor to contend with multiple looping CGI scripts. On a payroll day this could get you fired :-)
Anyone have suggestions? The "while(1)" loop is just an example, so I am not looking for a solution to that because it is obvious :-)
Thanks for your help
Ian