[perl #69875] Slow down split in scalar context :-)
authorFather Chrysostomos <perlbug-followup@perl.org>
Sat, 31 Oct 2009 15:15:08 +0000 (16:15 +0100)
committerRafael Garcia-Suarez <rgs@consttype.org>
Sat, 31 Oct 2009 15:16:35 +0000 (16:16 +0100)
commit941446f6f52eecff56982518624db4f64a5951fc
tree6bef57c7a599cb2e30e713f3ed23731114203517
parente95d73140218cc53e63e359a04270e05457c786f
[perl #69875] Slow down split in scalar context :-)

The patch to speed up split in scalar context broke Font::GlyphNames,
because it stops scalar(@array = split) from working. The attached
patch fixes this, and ineluctably slows it down slightly.

(Patch amended by replacing the 2nd GIMME_V macro call by the gimme
variable)
pp.c
t/op/split.t