NAME
POSIX::1003::Locale - POSIX handling locale settings
INHERITANCE
POSIX::1003::Locale
is a POSIX::1003
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.
Exporter
METHODS
FUNCTIONS
- localeconv()
-
Get detailed information about the current locale
my $info = localeconv(); # is HASH print Dumper $info; # use Data::Dumper to inspect
- setlocale()
-
Locales describe national and language specific facts. With setlocale() you change the locale.
my $location = setlocale(LC_ALL, 'de'); # German
CONSTANTS
Constants from limits.h
MB_LEN_MAX Max multi-byte length of a char across all locales
Constants from locale.h
LC_ALL LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC
LC_TIME
SEE ALSO
This module is part of POSIX-1003 distribution version 0.13, built on July 26, 2012. 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 of the perl code and the related documentation by 2011-2012 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
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 67:
Deleting unknown formatting code M<>