> > that a sql statement couldn't be executed (I had an error in my sql > syntax a ';'),
Maybe this has triggered an endless loop in your Perl code. An endless loop will not be stopped by Embperl (because it can't detected it), Apache has a timeout, which is 10 minutes per default, after that it should stop the request (but I never have tried if it really does). The easiest way to stop such a request is to kill the corresponding Apache child process (if you running Unix, on Windows you can only restart the server). Simply run top, see which child consumes your cpu time and kill it. > rather normal stuff I also tied a die statement to the > execute and prepare function to be on the safe side but it seems that > die wasn't executed > In Embperl 1.x die only terminates the block in which it occurs, all other blocks will still run. So in case of an endless loop (if the loop in in another block) the script will still continue. Use exit to terminate the execution of the whole page. This behaviour is changed in Embperl 2.0, where die really terminates the whole page, which is what most users expect it to do. Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 ------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
