summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-03 17:48:31 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-03 17:48:31 +0000
commit10c8fecdc2f0a2ef9c548abff5961fa25cd83eca (patch)
tree750e204e55ff0008040249f2114df3d38df43fcf /dump.c
parent49cb0e56d106a6666efa8660569a458b7eb3368b (diff)
downloadperl-10c8fecdc2f0a2ef9c548abff5961fa25cd83eca.tar.gz
support for list assignment to pseudohashes (from John Tobey
<jtobey@john-edwin-tobey.org>) p4raw-id: //depot/perl@5492
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dump.c b/dump.c
index 3dd9b0e2e1..189d6721f1 100644
--- a/dump.c
+++ b/dump.c
@@ -433,6 +433,8 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o)
if (o->op_type == OP_AASSIGN) {
if (o->op_private & OPpASSIGN_COMMON)
sv_catpv(tmpsv, ",COMMON");
+ if (o->op_private & OPpASSIGN_HASH)
+ sv_catpv(tmpsv, ",HASH");
}
else if (o->op_type == OP_SASSIGN) {
if (o->op_private & OPpASSIGN_BACKWARDS)