This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Math-Complex: customize Maintainers.pl
[perl5.git] / pp_pack.c
index 40c3100..7e6dc4d 100644 (file)
--- a/pp_pack.c
+++ b/pp_pack.c
@@ -3125,7 +3125,7 @@ PP(pp_pack)
     const char *patend = pat + fromlen;
 
     MARK++;
-    sv_setpvs(cat, "");
+    SvPVCLEAR(cat);
     SvUTF8_off(cat);
 
     packlist(cat, pat, patend, MARK, SP + 1);