This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
eval_sv() and eval_pv() don't fail on syntax err
authorDavid Mitchell <davem@iabyn.com>
Sat, 2 Oct 2010 10:13:09 +0000 (11:13 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 3 Oct 2010 19:52:10 +0000 (20:52 +0100)
commit4aca2f62efca883199d7975f34b7fb876c280366
tree578ea7884fd21e514009d504531c2483228fd998
parent95f567513aaa04ffb8bb9d148aff1a85b1eff161
eval_sv() and eval_pv() don't fail on syntax err

[perl #3719] eval_sv("some syntax err") cleared $@ and didn't return
a failure indication. This also affected eval_pv() which calls eval_sv().
Fix this and add lots of tests.
ext/XS-APItest/t/call.t
perl.c