In perl.git, the branch smoke-me/carp-107636 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/e2eb122ff858c1a9c4537edea1a3ee8baf65100f?hp=0000000000000000000000000000000000000000>
at e2eb122ff858c1a9c4537edea1a3ee8baf65100f (commit)
- Log -----------------------------------------------------------------
commit e2eb122ff858c1a9c4537edea1a3ee8baf65100f
Author: Father Chrysostomos <[email protected]>
Date: Thu Apr 12 06:39:50 2012 -0700
Increase $Carp::VERSION to 1.26
M dist/Carp/lib/Carp.pm
commit 6d885312058e43dc41969c25a18f7ec42795ddb8
Author: Father Chrysostomos <[email protected]>
Date: Thu Apr 12 06:38:59 2012 -0700
[perl #107636] Make Carp::longmess work inside die override
When PL_last_in_gv (and hence $.) is set, Carp::longmess uses
eval { die } to find out what handle and line number perl will append
to the error message.
It was not qualifying the die with CORE::, so a CORE::GLOBAL::die
override that itself calls Carp::longmess would result in infinite
recursion if that override were installed before Carp loaded.
This broke Class::Scaffoldâs tests, which began to hang.
M dist/Carp/lib/Carp.pm
M dist/Carp/t/Carp.t
-----------------------------------------------------------------------
--
Perl5 Master Repository