diff options
Diffstat (limited to 'doop.c')
-rw-r--r-- | doop.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1177,11 +1177,8 @@ Perl_do_kv(pTHX) PUTBACK; /* hv_iternext and hv_iterval might clobber stack_sp */ while ((entry = hv_iternext(keys))) { SPAGAIN; - if (dokeys) { + if (dokeys) XPUSHs(hv_iterkeysv(entry)); /* won't clobber stack_sp */ - if (SvUTF8((SV*)keys)) - SvUTF8_on(TOPs); /* Yuck */ - } if (dovalues) { PUTBACK; tmpstr = realhv ? |