Also dump the SvPVX of PVFMs.
Nicholas Clark [Fri, 11 Jul 2008 18:37:27 +0000 (18:37 +0000)]
p4raw-id: //depot/perl@34127

dump.c

diff --git a/dump.c b/dump.c
index 456a130..2696b9b 100644 (file)
--- 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)) {