This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Send bug reports to GitHub
[perl5.git] / ext / I18N-Langinfo / Langinfo.pm
index 8ba76f2..fd34a8a 100644 (file)
@@ -5,11 +5,9 @@ use strict;
 use warnings;
 use Carp;
 
-require Exporter;
+use Exporter 'import';
 require XSLoader;
 
-our @ISA = qw(Exporter);
-
 our @EXPORT = qw(langinfo);
 
 our @EXPORT_OK = qw(
@@ -72,7 +70,7 @@ our @EXPORT_OK = qw(
        YESSTR
 );
 
-our $VERSION = '0.17';
+our $VERSION = '0.21';
 
 XSLoader::load();
 
@@ -92,7 +90,7 @@ I18N::Langinfo - query locale information
 The langinfo() function queries various locale information that can be
 used to localize output and user interfaces.  It uses the current underlying
 locale, regardless of whether or not it was called from within the scope of
-S<C<use locale>>.  The langinfo() requires
+S<C<use locale>>.  The langinfo() function requires
 one numeric argument that identifies the locale constant to query:
 if no argument is supplied, C<$_> is used.  The numeric constants
 appropriate to be used as arguments are exportable from I18N::Langinfo.
@@ -180,6 +178,8 @@ For the eras based on typically some ruler, such as the Japanese Emperor
 
 =back
 
+=head2 For systems without C<nl_langinfo>
+
 Starting in Perl 5.28, this module is available even on systems that lack a
 native C<nl_langinfo>.  On such systems, it uses various methods to construct
 what that function, if present, would return.  But there are potential
@@ -224,15 +224,14 @@ representation.
 =item C<CRNCYSTR>
 
 The return may be incorrect for those rare locales where the currency symbol
-replaces the radix character.
-Send email to L<mailto:perlbug@perl.org> if you have examples of it needing
-to work differently.
+replaces the radix character.  If you have examples of it needing to work
+differently, please file a report at L<https://github.com/Perl/perl5/issues>.
 
 =item C<ALT_DIGITS>
 
-Currently this gives the same results as Linux does.
-Send email to L<mailto:perlbug@perl.org> if you have examples of it needing
-to work differently.
+Currently this gives the same results as Linux does.  If you have examples of
+it needing to work differently, please file a report at
+L<https://github.com/Perl/perl5/issues>.
 
 =item C<ERA_D_FMT>
 
@@ -273,7 +272,7 @@ workaround for this; patches welcome: see L<perlapi/switch_to_global_locale>.
 
 L<perllocale>, L<POSIX/localeconv>, L<POSIX/setlocale>, L<nl_langinfo(3)>.
 
-The langinfo() is just a wrapper for the C nl_langinfo() interface.
+The langinfo() function is just a wrapper for the C nl_langinfo() interface.
 
 =head1 AUTHOR