NAME

Locales::Country::en - ISO 3166-1 Country Codes in English.

SYNOPSIS

require Locales::Country::en;

my $en = new Locales::Country::en;

print "  ", $en->getLocale, " => ", $en->code2country ( "gb" ), "\n";
print "  ", $en->getLocale, " => ", $en->code2country ( "gbr" ), "\n";
print "  ", $en->getLocale, " => ", $en->code2country ( "826" ), "\n";

print "  ", $en->getLocale, " => ", $en->country2code ( "United Kingdom", "alpha2" ), "\n";
print "  ", $en->getLocale, " => ", $en->country2code ( "United Kingdom", "alpha3" ), "\n";
print "  ", $en->getLocale, " => ", $en->country2code ( "United Kingdom", "numeric" ), "\n";

DESCRIPTION

This module provides an OO interface to English language ISO 3166-1 country codes. All of the functions available in the Locale::Country module are available here as class methods.

This module may be used indirectly through the Locales::Country module which also exports functions in the style of Locale::Country.

Documentation remains under development.

COPYRIGHT

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

BUGS

None presently known.

AUTHOR

Daniel Yacob, dyacob@cpan.org

SEE ALSO

Locales::Country

Included with this package:

examples/country*.pl