language2.pl - Demonstration of Locales::Language OO Usage.
./language2.pl
This is a simple demonstration script that shows how the top level Locales::Language module can be used to instantiate a new object set for a supported language passed as an argument at creation time. For example:
require Locales::Language; my $am = new Locales::Language ( "am" ); print $am->getLocale, " => ", $am->code2language ( "en" ), "\n";
Daniel Yacob, dyacob@cpan.org
Locales::Language
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.