diff options
-rw-r--r-- | pp_hot.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -2320,11 +2320,7 @@ PP(pp_subst) } (void)SvPOK_only_UTF8(TARG); TAINT_IF(rxtainted); - if (SvSMAGICAL(TARG)) { - PUTBACK; - mg_set(TARG); - SPAGAIN; - } + SvSETMAGIC(TARG); SvTAINT(TARG); if (doutf8) SvUTF8_on(TARG); |