projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Chip noticed that the intended optionality of the 'IV' was
[p5sagit/p5-mst-13.2.git]
/
pp_pack.c
diff --git
a/pp_pack.c
b/pp_pack.c
index
4476454
..
6f9abe1
100644
(file)
--- a/
pp_pack.c
+++ b/
pp_pack.c
@@
-1606,7
+1606,8
@@
Perl_unpack_str(pTHX_ char *pat, register char *patend, register char *s, char *
PP(pp_unpack)
{
dSP;
- dPOPPOPssrl;
+ SV *right = (MAXARG > 1) ? POPs : GvSV(PL_defgv);
+ SV *left = POPs;
I32 gimme = GIMME_V;
STRLEN llen;
STRLEN rlen;