summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-07-11 18:37:27 +0000
committerNicholas Clark <nick@ccl4.org>2008-07-11 18:37:27 +0000
commita49b46c637e9dbdc0b6d3f7b8eef535cb1630908 (patch)
tree9f460a967512cda3b81908f37c33f51231ba2d8e /dump.c
parentd2821e7281f778ddf755abc7b47fcaaf73530b23 (diff)
downloadperl-a49b46c637e9dbdc0b6d3f7b8eef535cb1630908.tar.gz
Also dump the SvPVX of PVFMs.
p4raw-id: //depot/perl@34127
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index 456a1308af..2696b9bba9 100644
--- a/dump.c
+++ b/dump.c
@@ -1608,7 +1608,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
SvREFCNT_dec(d);
return;
}
- if (type <= SVt_PVLV && !isGV_with_GP(sv)) {
+ if ((type <= SVt_PVLV && !isGV_with_GP(sv)) || type == SVt_PVFM) {
if (SvPVX_const(sv)) {
STRLEN delta;
if (SvOOK(sv)) {