If you insist on goto &sub, use the fact that assigning to @_ in its entirety makes it shed its aliasing.
(Untested.)if ($failed) { @_ = "option1"; # and NOT $_[0] = "option1"; goto &do_something; }
In reply to Re: goto &sub up the stack
by gaal
in thread goto &sub up the stack
by prowler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |