diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-08 19:48:11 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-08 19:48:11 +0000 |
commit | 377b21bb1127ac5ca00091f9cc395d44f5adff24 (patch) | |
tree | 98997496e8cc4f7a591430e8cc8abf03d913c075 /op.c | |
parent | 5276f2afd97082686f7aed04c4d725334991a21d (diff) | |
download | perl-377b21bb1127ac5ca00091f9cc395d44f5adff24.tar.gz |
allow AV/HV dereferences on pseudohashes ($ph->{foo}[1], etc.)
p4raw-id: //depot/perl@3335
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5588,7 +5588,7 @@ peep(register OP *o) char *key; STRLEN keylen; - if (o->op_private & (OPpDEREF_HV|OPpDEREF_AV|OPpLVAL_INTRO) + if ((o->op_private & (OPpLVAL_INTRO)) || ((BINOP*)o)->op_last->op_type != OP_CONST) break; rop = (UNOP*)((BINOP*)o)->op_first; |