This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
LC_NUMERIC documentation updates + tests
authorNiko Tyni <ntyni@debian.org>
Tue, 19 Oct 2010 18:55:14 +0000 (21:55 +0300)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 27 Oct 2010 12:50:18 +0000 (05:50 -0700)
commit903eb63f7d8d47a38971a8e9af7201b9927882cf
tree369b98666559416d15f502c9c080d6941cc4c898
parent9c6df44eda98e5e43bb8a8d4d71688ae77f9a590
LC_NUMERIC documentation updates + tests

Most of the confusion around LC_NUMERIC was fixed with commits
7e4353e96785be675a69a6886d154405dbfdc124 and
2095dafae09cfface71d4202b3188926ea0ccc1c
but two errors remain:

- the early parts of perllocale.pod still say printf() uses LC_NUMERIC
  with just 'use locale' when actually a POSIX::setlocale() call is
  also needed

- format() hasn't used LC_NUMERIC unconditionally since 5.005_03
  (commit 097ee67dff1c60f201bc09435bc6eaeeafcd8123).

Update the documentation and test the claims in t/run/locale.t.
pod/perlform.pod
pod/perllocale.pod
t/run/locale.t