diff options
author | Stephen McCamant <smcc@mit.edu> | 1997-12-20 09:16:14 -0600 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-03-02 03:28:28 +0000 |
commit | 161b7d1635bc830b9c733355ab423626eadf9ae9 (patch) | |
tree | a4910bbe25ce9e9991920dbbf1c82792dfc950d8 /pp.c | |
parent | f3ea7b5ee70397733e54550d64ca43f4288e744f (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |