
country7.pl - Demonstration of Country Module country2code Usage.

./country7.pl

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";

Daniel Yacob, dyacob@cpan.org

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