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
commitd6a71824a1e9d5ec2e4050f5e51f00e0aed29f1b (patch)
tree750e204e55ff0008040249f2114df3d38df43fcf /dump.c
parent36a610e7b0fe7aeba731ed87207f6ee17accb3e7 (diff)
downloadperl-d6a71824a1e9d5ec2e4050f5e51f00e0aed29f1b.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)