goto return ?



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

.



Relevant Pages

  • Battlefront II - Knightfall
    ... Okay, so, this is the PC version. ... I was moving through the challenges ... at a good pace and now I've come to what seems like a brick wall. ...
    (comp.sys.ibm.pc.games.action)
  • Search Problem
    ... I just need a way to line by line search the entire file, fetching that ... making some modifications and moving further. ... TIA ... Prev by Date: ...
    (comp.unix.shell)
  • Re: Stable Speed Here
    ... significance of interleaving is? ... TIA. ... I would consider moving to AAISP except ...
    (uk.telecom.broadband)
  • Re: Looking to jump ship from Zen
    ... following ISP any good? ... TIA ... I've no idea about fast4 but it looks like a good service. ... As many people are moving to Zen it would be interesting to know your ...
    (uk.telecom.broadband)
  • Re: Stable Speed Here
    ... significance of interleaving is? ... TIA. ... I would consider moving to AAISP except ...
    (uk.telecom.broadband)