Subject: | Tie:Comma does not use locale settings |
Date: | Wed, 10 Sep 2008 18:22:42 +0200 (CEST) |
To: | bug-Tie-Comma [...] rt.cpan.org |
From: | "Andreas Schrell" <as [...] schrell.de> |
Hi,
I installed version 0.4 today and run into problems.
Due to "man POSIX" the line
my $loc = POSIX::setlocale(&POSIX::LC_NUMERIC());
in Comma.pm should be
my $loc = POSIX::setlocale(&POSIX::LC_NUMERIC(),"");
to use the local systems locale settings correctly. Otherwise there may be
problems like thousands_sep equal to decimal_point.
Btw. If only one of thousands_sep or decimal_point is found. The other one
should not default to the same.
Regards
Andreas