diff options
author | Brian Fraser <fraserbn@gmail.com> | 2012-05-25 02:44:20 -0300 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-05-25 08:28:54 -0700 |
commit | 760209f8136cbd716bfb8a01d6911547c2dc9f1e (patch) | |
tree | d6313e854fdfd6401d69b707039853a27f10924d /doop.c | |
parent | 2a53d3314d380af5ab5283758219417c6dfa36e9 (diff) | |
download | perl-760209f8136cbd716bfb8a01d6911547c2dc9f1e.tar.gz |
Fix for [perl #8931], call magic only once for join's first arg.
Diffstat (limited to 'doop.c')
-rw-r--r-- | doop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -720,7 +720,7 @@ Perl_do_join(pTHX_ register SV *sv, SV *delim, register SV **mark, register SV * if (delimlen) { for (; items > 0; items--,mark++) { - sv_catsv(sv,delim); + sv_catsv_nomg(sv,delim); sv_catsv(sv,*mark); } } |