NAME
POSIX::1003::Locale - POSIX handling locale settings
SYNOPSIS
use POSIX::1003::Locale;
my $location = setlocale(LC_ALL, 'de'); # German
my $info = localeconv(); # is HASH
print Dumper $info; # use Data::Dumper to inspect
DESCRIPTION
See perllocale for the details.
FUNCTIONS
- localeconv()
-
Get detailed information about the current locale
my $info = localeconv(); # is HASH print Dumper $info; # use Data::Dumper to inspect
- setlocale($lc, $lang)
-
Locales describe national and language specific facts. With setlocale() you change the locale.
my $location = setlocale(LC_ALL, 'de'); # German
CONSTANTS
LC_ALL 6 LC_MESSAGES 5 LC_TIME 2
LC_COLLATE 3 LC_MONETARY 4 MB_LEN_MAX 16
LC_CTYPE 0 LC_NUMERIC 1
SEE ALSO
This module is part of POSIX-1003 distribution version 0.99_01, built on January 31, 2015. Website: http://perl.overmeer.net. The code is based on POSIX, which is released with Perl itself. See also POSIX::Util for additional functionality.
COPYRIGHTS
Copyrights 2011-2015 on the perl code and the related documentation by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html