This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #74764] Forbid ‘goto’ jumping into ‘given’
authorFather Chrysostomos <sprout@cpan.org>
Sun, 10 Dec 2017 15:07:07 +0000 (07:07 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 10 Dec 2017 19:18:57 +0000 (11:18 -0800)
commita01f4640266aacbed7ecc9df01890abb555c69b2
tree943ee322c5918a33b3a05c9a308e4e8b59166447
parente7afb05e35570e271ae017d47b64dd5aad3e2009
[perl #74764] Forbid ‘goto’ jumping into ‘given’

It does not make sense to jump into a ‘given’ any more than it makes
sense to jump into ‘foreach’, which has long been forbidden, since
there is no value to turn into a topic.  Up till now this construct
has always crashed.
pod/perldelta.pod
pod/perldiag.pod
pod/perlfunc.pod
pp_ctl.c
t/lib/croak/pp_ctl