country4.pl - Demonstration of Locales::Country w/ Environment Variables.
./country4.pl
This is a simple demonstration script that shows how the top level Locales::Country module will apply the environment LC_ALL setting if set (LC_ALL, LANG and LANGUAGE are always checked in this order). For example:
$ENV{LC_ALL} = "fr_FR"; # reset environment locale. require Locales::Country; my $fr = new Locales::Country; # environemnet locale used. my $de = new Locales::Country ( "de" ); # overrides default country.
Daniel Yacob, dyacob@cpan.org
Locales::Country
To install Locales::Base, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Locales::Base
CPAN shell
perl -MCPAN -e shell install Locales::Base
For more information on module installation, please visit the detailed CPAN module installation guide.