Hi there,

On Wed, 1 Nov 2000, Paul J. Lucas wrote:

>       If I'm a few levels deep into function calls, I'd liek to be
>       able to do something like "return SERVER_ERROR" and have the
>       entire call stack unwind and the current request stopped.
> 
>       Is there any way to do that?

It's called a 'goto' (and real programmers don't use it:).

Or you could call a function which does the business and then calls
mod_perl's exit() function, page 464 Eagle Book.

Don't use an ordinary exit() from a mod_perl process because that
abruptly kills the child, which is Bad News.

73,
Ged.


Reply via email to