in reply to Re: Perl 5.12.0 has been released!
in thread Perl 5.12.0 has been released!
goto &$f doesn't do any jumping at all. It's unrelated and thus unaffected.
$ perl5.12.0 -E'sub g { say "g" } sub f { goto &{ \&g } } f();' g
It's stuff like this:
$ perl5.12.0 -e'goto FOO; while (1) { FOO: last }' Use of "goto" to jump into a construct is deprecated at -e line 1.
Jumping out is fine.
$ perl5.12.0 -E'while (1) { goto FOO; } FOO: say "done"' done
|
|---|