This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make sprintf "%1s" and "%.1s" call overloading once
authorFather Chrysostomos <sprout@cpan.org>
Mon, 1 Oct 2012 16:08:18 +0000 (09:08 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 1 Oct 2012 19:51:58 +0000 (12:51 -0700)
commit667f6f1513bb7f13b7b6bb7c1acaeed6f8f9c6dd
tree8afb9260c5826e09e95d72dce440d04a48d67f71
parent6715405f56348468cfa2fd83507da0171e7aed58
Make sprintf "%1s" and "%.1s" call overloading once

Calling overloading multiple times can probably result in mangled
UTF8, but it is much easier just to test for the number of calls.
sv.c
t/op/sprintf2.t