summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-11-16 07:54:46 -0700
committerKarl Williamson <khw@cpan.org>2017-11-16 07:57:52 -0700
commita2ed475b03b6a44991249033e2fa7dc3818d361b (patch)
tree6856590fe021730f3c7c7115263d08b5bba1dcfc
parentdd6661605fe0a54c602f2e55f875acfdcd330b79 (diff)
downloadperl-a2ed475b03b6a44991249033e2fa7dc3818d361b.tar.gz
I18N::Langinfo: Add note to pod
For the last several releases of Perl, the items listed in the note were always those from the C locale, regardless of the real one. Before that, it was even more buggy, whether you got the C locale or the real one was complicated.
-rw-r--r--ext/I18N-Langinfo/Langinfo.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/I18N-Langinfo/Langinfo.pm b/ext/I18N-Langinfo/Langinfo.pm
index 1b1a480ec5..7a7005f7ab 100644
--- a/ext/I18N-Langinfo/Langinfo.pm
+++ b/ext/I18N-Langinfo/Langinfo.pm
@@ -72,7 +72,7 @@ our @EXPORT_OK = qw(
YESSTR
);
-our $VERSION = '0.14';
+our $VERSION = '0.15';
XSLoader::load();
@@ -174,6 +174,11 @@ you can wrap the import in an eval like this:
By default only the C<langinfo()> function is exported.
+=head1 BUGS
+
+Before Perl 5.28, the returned values are unreliable for the C<RADIXCHAR> and
+C<THOUSEP> locale constants.
+
=head1 SEE ALSO
L<perllocale>, L<POSIX/localeconv>, L<POSIX/setlocale>, L<nl_langinfo(3)>.