summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2009-08-21 01:49:14 +0200
committerVincent Pit <perl@profvince.com>2009-08-21 13:33:59 +0200
commitf747ebd621ca5f8cd5605b35b81db4ac486f68f9 (patch)
treee412ad370ee591c40096e9d87a3aa30ac7b6b269 /dump.c
parenta8ae8fee103e29c80450bb74b87866088a24b4a1 (diff)
downloadperl-f747ebd621ca5f8cd5605b35b81db4ac486f68f9.tar.gz
Add clear magic to %^H so that the HE chain is reset when you empty it.
This fixes [perl #68590] : %^H not lexical enough.
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dump.c b/dump.c
index e7f5a1df01..c891b2fc2a 100644
--- a/dump.c
+++ b/dump.c
@@ -1261,6 +1261,7 @@ Perl_do_magic_dump(pTHX_ I32 level, PerlIO *file, const MAGIC *mg, I32 nest, I32
else if (v == &PL_vtbl_utf8) s = "utf8";
else if (v == &PL_vtbl_arylen_p) s = "arylen_p";
else if (v == &PL_vtbl_hintselem) s = "hintselem";
+ else if (v == &PL_vtbl_hints) s = "hints";
else s = NULL;
if (s)
Perl_dump_indent(aTHX_ level, file, " MG_VIRTUAL = &PL_vtbl_%s\n", s);