In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/a3bda1a78f16ffb09616f48f73bb73558cbfd96c?hp=600c10ce9c7713290d77a267b6187a24b4434798>
- Log ----------------------------------------------------------------- commit a3bda1a78f16ffb09616f48f73bb73558cbfd96c Merge: 600c10ce9c f079cb3ec5 Author: Aaron Crane <a...@cpan.org> Date: Thu Apr 19 14:08:18 2018 +0200 [MERGE] Documentation tweaks in I18N::Langinfo commit f079cb3ec540f197e437c1322b4d901b2eb39496 Author: Aaron Crane <a...@cpan.org> Date: Thu Apr 19 14:00:35 2018 +0200 I18N::Langinfo: add a POD link commit 037f2cd15059a34378f0ace79565546e66b86899 Author: Aaron Crane <a...@cpan.org> Date: Thu Apr 19 13:55:30 2018 +0200 I18N::Langinfo: reword list items commit ec915ab1634e59a563793bf1dcb4005479461be3 Author: Aaron Crane <a...@cpan.org> Date: Thu Apr 19 13:51:49 2018 +0200 I18N::Langinfo: clarify POD with a list commit 7a0af77aa9a42b2895c2969c8b95b81d18fa1d71 Author: Aaron Crane <a...@cpan.org> Date: Thu Apr 19 11:35:13 2018 +0200 I18N::Langinfo: fix POD typo ----------------------------------------------------------------------- Summary of changes: ext/I18N-Langinfo/Langinfo.pm | 53 +++++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 17 deletions(-) diff --git a/ext/I18N-Langinfo/Langinfo.pm b/ext/I18N-Langinfo/Langinfo.pm index 14d3587ca5..8ba76f2d51 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.16'; +our $VERSION = '0.17'; XSLoader::load(); @@ -119,7 +119,13 @@ but under a French locale dim? [oui/non] -The usually available constants are +The usually available constants are as follows. + +=over 4 + +=item * + +For abbreviated and full length days of the week and months of the year: ABDAY_1 ABDAY_2 ABDAY_3 ABDAY_4 ABDAY_5 ABDAY_6 ABDAY_7 ABMON_1 ABMON_2 ABMON_3 ABMON_4 ABMON_5 ABMON_6 @@ -128,41 +134,54 @@ The usually available constants are MON_1 MON_2 MON_3 MON_4 MON_5 MON_6 MON_7 MON_8 MON_9 MON_10 MON_11 MON_12 -for abbreviated and full length days of the week and months of the year, +=item * + +For the date-time, date, and time formats used by the strftime() function +(see L<POSIX>): D_T_FMT D_FMT T_FMT -for the date-time, date, and time formats used by the strftime() function -(see L<POSIX>) +=item * + +For the locales for which it makes sense to have ante meridiem and post +meridiem time formats: AM_STR PM_STR T_FMT_AMPM -for the locales for which it makes sense to have ante meridiem and post -meridiem time formats, +=item * - CODESET CRNCYSTR +For the character code set being used (such as "ISO8859-1", "cp850", +"koi8-r", "sjis", "utf8", etc.), and for the currency string: -for the character code set being used (such as "ISO8859-1", "cp850", -"koi8-r", "sjis", "utf8", etc.), for the currency string + CODESET CRNCYSTR - ALT_DIGITS RADIXCHAR THOUSEP +=item * -for an alternate representation of digits, for the +For an alternate representation of digits, for the radix character used between the integer and the fractional part of decimal numbers, the group separator string for large-ish floating point -numbers (yes, the final two are redundant with POSIX::localeconv()) +numbers (yes, the final two are redundant with +L<POSIX::localeconv()|POSIX/localeconv>): + + ALT_DIGITS RADIXCHAR THOUSEP + +=item * + +For the affirmative and negative responses and expressions: YESSTR YESEXPR NOSTR NOEXPR -for the affirmative and negative responses and expressions, and +=item * + +For the eras based on typically some ruler, such as the Japanese Emperor +(naturally only defined in the appropriate locales): ERA ERA_D_FMT ERA_D_T_FMT ERA_T_FMT -for the eras based on typically some ruler, such as the Japanese Emperor -(naturally only defined in the appropriate locales). +=back Starting in Perl 5.28, this module is available even on systems that lack a -nativeC<nl_langinfo>. On such systems, it uses various methods to construct +native C<nl_langinfo>. On such systems, it uses various methods to construct what that function, if present, would return. But there are potential glitches. These are the items that could be different: -- Perl5 Master Repository