disallow eval { goto &foo }
authorDave Mitchell <davem@fdisolutions.com>
Sat, 21 May 2005 19:15:43 +0000 (19:15 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Sat, 21 May 2005 19:15:43 +0000 (19:15 +0000)
commitc74ace89800a81a764294e9f6eacc04bbed5a568
tree1fa600f949acceb545ad4aa08ff06095f971c8bd
parent7b2c381cf37e4e4611c4a864b5d6f7134344e3e6
disallow eval { goto &foo }
eval 'goto &foo' is already banned, and the try-version usually
coredumps due to the code assuming the CxEVAL is actually a CxSUB.
Anyway exiting an eval but preserving "it's" @_ doesn't make much
sense.

p4raw-id: //depot/perl@24532
pod/perldiag.pod
pp_ctl.c
t/op/goto.t