Closed p5pRT closed 21 years ago
This is a bug report for perl from ck@held.mind.de\, generated with the help of perlbug 1.28 running under perl v5.6.0.
----------------------------------------------------------------- This script produces different output under Perl 5.6 and Perl5.005:
use POSIX qw(locale_h strftime); use locale;
setlocale(LC_NUMERIC\,"de_DE");
printf "%10.3f %10.2f"\, 3.1\, 3142.79098
Under Perl5.005\, I see 3\,100 3142\,79 while Perl5.6 gives 3\,100 3142.79
The first result is nearly correct (the thousands separator is missing\, which should be a dot\, but this could be a problem with locale setup). The second result is wrong for the second number: It should use a comma instead of a dot.
I'm running SuSE Linux 6.4\, the Perl 5.005 is the one from this distribution. Perl 5.6 is home-brewn.
fixed in perl 5.7.0\, probably will be fixed in perl 5.6.1
Migrated from rt.perl.org#3664 (status was 'resolved')
Searchable as RT3664$