summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorStephen McCamant <smcc@mit.edu>1997-12-20 09:16:14 -0600
committerGurusamy Sarathy <gsar@cpan.org>1998-03-02 03:28:28 +0000
commit161b7d1635bc830b9c733355ab423626eadf9ae9 (patch)
treea4910bbe25ce9e9991920dbbf1c82792dfc950d8 /pp.c
parentf3ea7b5ee70397733e54550d64ca43f4288e744f (diff)
downloadperl-161b7d1635bc830b9c733355ab423626eadf9ae9.tar.gz
[win32] this one with adjusted test numbers
Message-Id: <m0xjWFq-000EZeC@alias-2.pr.mcs.net> Subject: [PERL] [PATCH] Fix local $a[0] and local $h{a} p4raw-id: //depot/win32/perl@614
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp.c b/pp.c
index 4264e9b8a1..ac297eefa6 100644
--- a/pp.c
+++ b/pp.c
@@ -2234,7 +2234,7 @@ PP(pp_aslice)
if (!svp || *svp == &sv_undef)
DIE(no_aelem, elem);
if (op->op_private & OPpLVAL_INTRO)
- save_svref(svp);
+ save_aelem(av, elem, svp);
}
*MARK = svp ? *svp : &sv_undef;
}
@@ -2376,7 +2376,7 @@ PP(pp_hslice)
if (!he || HeVAL(he) == &sv_undef)
DIE(no_helem, SvPV(keysv, na));
if (op->op_private & OPpLVAL_INTRO)
- save_svref(&HeVAL(he));
+ save_helem(hv, keysv, &HeVAL(he));
}
*MARK = he ? HeVAL(he) : &sv_undef;
}