Perl tells you "Can't goto subroutine from an eval-block".
You ask Perl to catch errors, then you ask Perl to replace the currently running function with another, but it can't continue to catch errors if it's no longer running. Given conflicting instructions, Perl lets you know you have something to fix.
Update: Substituted the explanation with a much clearer version.
In reply to Re: eval and goto: no worky?
by ikegami
in thread eval and goto: no worky?
by saintmike
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |