The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

1 POD Error

The following errors were encountered while parsing the POD:

Around line 56:

Non-ASCII character seen before =encoding in '"እንግሊዝ"'. Assuming UTF-8