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.
- return from nested functions Paul J. Lucas
- Re: return from nested functions Dave Rolsky
- Re: return from nested functions Paul J. Lucas
- Re: return from nested functions Craig McLane
- Re: return from nested functions Ben Cottrell
- Re: return from nested functions G.W. Haywood
- Re: return from nested functions Paul J. Lucas
- Re: return from nested functions Matt Sergeant
- Re: return from nested functions Dave Rolsky
- Re: return from nested functions Paul J. Lucas
- Re: return from nested functions Paul J. Lucas
- Re: return from nested functions John K. Sterling
- Re: return from nested functions Paul J. Lucas
- Re: return from nested function... John K. Sterling
- Re: return from nested functions Perrin Harkins