diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-01-03 00:07:13 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2004-01-03 00:07:13 +0000 |
commit | bab9c0ac4be68b8d3e7a915e21d06ed39d0fa563 (patch) | |
tree | 433c7a34050655e49940106dcbae7bf42e930f98 /pp_pack.c | |
parent | 35bc0dc84153b4a6ad4b24f4d9e7d25cc7a0fb97 (diff) | |
download | perl-bab9c0ac4be68b8d3e7a915e21d06ed39d0fa563.tar.gz |
Tidy up change #18751, so that the second parameter to unpack()
defaults to $_ at compile-time, instead of run-time (like all
other primitives that default to $_).
p4raw-link: @18751 on //depot/perl: 13dcffc60adeca175c32a1ea11ec8756d4853ad2
p4raw-id: //depot/perl@22047
Diffstat (limited to 'pp_pack.c')
-rw-r--r-- | pp_pack.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1707,8 +1707,7 @@ S_unpack_rec(pTHX_ register tempsym_t* symptr, register char *s, char *strbeg, c PP(pp_unpack) { dSP; - SV *right = (MAXARG > 1) ? POPs : GvSV(PL_defgv); - SV *left = POPs; + dPOPPOPssrl; I32 gimme = GIMME_V; STRLEN llen; STRLEN rlen; |