Perrin: I looks you are right....I might have tested something else....;-) Thanks Ron
________________________________ From: [EMAIL PROTECTED] on behalf of Perrin Harkins Sent: Fri 12/7/2007 4:53 PM To: Ronald Dai. Cc: modperl@perl.apache.org Subject: Re: apache mod_perl aborted a process within a eval block without completing it On Dec 7, 2007 4:45 PM, Ronald Dai. <[EMAIL PROTECTED]> wrote: > eval could not catch exit() calls but exit() calls within eval actually > won't have the process exit...I just tested it. You must have tested something else, because exit() does cause a process to leave an eval block. Maybe you tried it in a Registry script? Those override exit() using the standard perl methods for overriding CORE:: functions. This does not print anything: perl -e 'eval { exit(0); }; print "foo";' > since in most cases the eval competed normally, I > kind suspect that it is mod_perl or apache that is doing something... Well, mod_perl is just perl. There's nothing different about the language or the interpreter. - Perrin