This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
avoid vivifying UNIVERSAL::isa:: in Carp
authorZefram <zefram@fysh.org>
Thu, 15 Feb 2018 18:21:14 +0000 (18:21 +0000)
committerZefram <zefram@fysh.org>
Thu, 15 Feb 2018 18:21:14 +0000 (18:21 +0000)
commit682f3ac7d3c98fe1aa251a2e30684eeb7b859a0e
tree37121974a418ab033bf46afec07b12521ec88b02
parent599926360f3b0336743acf167763375ab7f79d41
avoid vivifying UNIVERSAL::isa:: in Carp

The test added to Carp by commit 915a6810d3e3198d759f025f85d1fd6f3171dd27
for UNIVERSAL::isa being loaded had the side effect of vivifying the
UNIVERSAL::isa stash.  Take more care about checking for UNIVERSAL::isa
to avoid vivifying it, as for the other checks for things in optional
modules.  Fixes [perl #132788].
dist/Carp/lib/Carp.pm
dist/Carp/lib/Carp/Heavy.pm
dist/Carp/t/vivify_stash.t