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?

Not that this has anything to do with mod_perl really but ...

Use exceptions.  There's a section in the guide on them some crazy guy
wrote ;)

I recommend my Exception::Class module on CPAN.  But I would do that,
wouldn't I?


-dave

/*==================
www.urth.org
We await the New Sun
==================*/

Reply via email to