ዳንኤል ያዕቆብ > Locales > country7.pl

Download:
Locales-0.04.tar.gz

Annotate this POD

CPAN RT

New  3
Open  2
View/Report Bugs
Source  

NAME ^

country7.pl - Demonstration of Country Module country2code Usage.

SYNOPSIS ^

./country7.pl

DESCRIPTION ^

THis is the same script as country1.pl but demonstrating the country2code method instead of code2country.

This is a simple demonstration script that shows how country modules (locale really) can be used directly to instantiate a Locales::Country instance in the country supported by the module. The country2code method is demonstrated. For example:

  require Locales::Country::am;
  my $am = new Locales::Country::am;

  print $am->getLocale, " => ", $am->country2code ( "እንግሊዝ" ), "\n";

AUTHOR ^

Daniel Yacob, dyacob@cpan.org

SEE ALSO ^

Locales::Country::am Locales::Country::de Locales::Country::en Locales::Country::fr

syntax highlighting: