On Wed, 1 Nov 2000 11:37:00 -0800 (PST), "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. Will something like this do what you need? ~Ben eval { get as many levels deep into functions as you want ... ... ... die("SERVER_ERROR"); ... ... ... }; $the_error = $@; if ($the_error) { warn("Unwound stack because of $the_error"); }
- 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