goto return ?
- From: mlists@xxxxxxxxxxxxxxx (JupiterHost.Net)
- Date: Fri, 24 Nov 2006 16:03:25 -0600
Howdy list,
I'm trying to figure this one out and am at the brick wall with trying /docs
in a function I'd like to replace this kind of code:
if($whatever) {
## do some stuff
return @stuff;
}
# we got this far so keep on moving
with
do_some_stuff_and_return( @stuff ) if $whatever;
# we got this far so keep on moving
The trick is I can't seem to goto() return in do_some_stuff_and_return(), I'm sure since its so deep down...
Anywho, any ideas would be awesome!
TIA
.
- Follow-Ups:
- Re: goto return ?
- From: nobull67@xxxxxxxxx
- Re: goto return ?
- From: boyd
- Re: goto return ?
- From: Tom Phoenix
- Re: goto return ?
- Prev by Date: Re: parsing report
- Next by Date: Re: failed substitution
- Previous by thread: failed substitution
- Next by thread: Re: goto return ?
- Index(es):
Relevant Pages
|
|