diff options
Diffstat (limited to 'pp_pack.c')
-rw-r--r-- | pp_pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |