in reply to Re: Entering and exiting subs in style
in thread Entering and exiting subs in style

I've used goto &sub in some state-machines, just because I didn't want the overhead of creating a larger stack that I'm not intending to use anyway.

This means that you go from one sub to the other without being able to return back to the first sub - if you return, you go back to the "original caller", which in this case was exactly what I wanted, and it can save some memory that otherwise is being used to store the lexicals in the stack of subs.(AFAIK this is related to tail recursion).

As far as the OP is concerned, I'd recommend using die, as suggested above.