POSIX::1003::Locale - POSIX handling locale settings
POSIX::1003::Locale is a POSIX::1003
use POSIX::1003::Locale; my $location = setlocale(LC_ALL, 'de'); # German my $info = localeconv(); # is HASH print Dumper $info; # use Data::Dumper to inspect
See perllocale for the details.
Get detailed information about the current locale
my $info = localeconv(); # is HASH print Dumper $info; # use Data::Dumper to inspect
Locales describe national and language specific facts. With setlocale() you change the locale.
my $location = setlocale(LC_ALL, 'de'); # German
MB_LEN_MAX Max multi-byte length of a char across all locales
LC_ALL LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
This module is part of POSIX-1003 distribution version 0.04, built on December 22, 2011. Website: http://perl.overmeer.net. The code is based on POSIX, which is released with Perl itself.
Copyrights of the perl code and the related documentation by 2011 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
To install POSIX::1003, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POSIX::1003
CPAN shell
perl -MCPAN -e shell install POSIX::1003
For more information on module installation, please visit the detailed CPAN module installation guide.