diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-26 14:36:17 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-26 14:36:17 +0000 |
commit | 366e98c304f5509b9df74e815b2f963e08a26c78 (patch) | |
tree | 3ebcfe0e94f66832e68ebb805aff278df02a2022 /pp.c | |
parent | 3ca3bb6f35492332d8741078a5631986b1e06b9d (diff) | |
download | perl-366e98c304f5509b9df74e815b2f963e08a26c78.tar.gz |
Nit to change 30762 by Gisle.
Avoids storing the chars removed by 4-arg substr() in void context.
p4raw-id: //depot/perl@30763
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3115,7 +3115,7 @@ PP(pp_substr) } } - if (! lvalue) + if (GIMME_V != G_VOID && !lvalue) sv_setpvn(TARG, tmps, rem); #ifdef USE_LOCALE_COLLATE sv_unmagic(TARG, PERL_MAGIC_collxfrm); |