Make sure we always local-ize $@ and $SIG{__DIE__} for code evals.
authorDave Rolsky <autarch@urth.org>
Sun, 21 Jun 2009 16:14:09 +0000 (11:14 -0500)
committerDave Rolsky <autarch@urth.org>
Sun, 21 Jun 2009 16:14:09 +0000 (11:14 -0500)
commite24b19fbbf5a62172dad0d8dfb86e03eed9a51c1
treeb88c239f6ea2401da0b7d88444f653998af75bef
parente4da508a1801f8bf4164d9f5ecbaf96cb343e5aa
Make sure we always local-ize $@ and $SIG{__DIE__} for code evals.

This required some changes to the CMOP::Method::Inlined API which
propogated out to anything that calls ->_eval_closure.
lib/Class/MOP/Class.pm
lib/Class/MOP/Method/Accessor.pm
lib/Class/MOP/Method/Constructor.pm
lib/Class/MOP/Method/Generated.pm
t/310_inline_structor.t
t/311_inline_and_dollar_at.t [new file with mode: 0644]