diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-21 10:58:22 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-21 10:58:22 +0000 |
commit | 69c678eb3bbbed7a7896fd9a2e52b0bbb93d4c3e (patch) | |
tree | f24ca2fbd63c3a51fedfda0a15ebc961678ab6e5 /dump.c | |
parent | 25c09cbfff59747c663fe98ca4036df86a317a59 (diff) | |
download | perl-69c678eb3bbbed7a7896fd9a2e52b0bbb93d4c3e.tar.gz |
weak references aren't UVs, do don't show this in the dump flags.
p4raw-id: //depot/perl@24921
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1190,7 +1190,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo /* FALL THROUGH */ default: if (SvEVALED(sv)) sv_catpv(d, "EVALED,"); - if (SvIsUV(sv)) sv_catpv(d, "IsUV,"); + if (SvIsUV(sv) && !(flags & SVf_ROK)) sv_catpv(d, "IsUV,"); break; case SVt_PVBM: if (SvTAIL(sv)) sv_catpv(d, "TAIL,"); |