summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-10-01 23:28:36 +0200
committerFlorian Ragwitz <rafl@debian.org>2010-11-14 17:18:05 +0100
commit627364f14af689f968a4854d02bdcc59ee644657 (patch)
tree46d02fa1c9cc5bc3134242965ad1851b66ee7a21 /hv.c
parent9ebf26ad4d30e289feeaec20ee238d6874f4b27e (diff)
downloadperl-627364f14af689f968a4854d02bdcc59ee644657.tar.gz
Eliminate PL_dirty
It now only exists as a compatibility macro for extensions that want to introspect it.
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index b43523954a..615cec2742 100644
--- a/hv.c
+++ b/hv.c
@@ -1856,7 +1856,7 @@ Perl_hv_undef(pTHX_ HV *hv)
DEBUG_A(Perl_hv_assert(aTHX_ hv));
xhv = (XPVHV*)SvANY(hv);
- if ((name = HvENAME_get(hv)) && !PL_dirty)
+ if ((name = HvENAME_get(hv)) && PL_phase != PERL_PHASE_DESTRUCT)
{
/* Delete the @ISA element before calling mro_package_moved, so it
does not see it. */