Locales::Country::es - ISO 3166-1 Country Codes in Spanish.
require Locales::Country::es; my $es = new Locales::Country::es; print " ", $es->getLocale, " => ", $es->code2country ( "es" ), "\n"; print " ", $es->getLocale, " => ", $es->code2country ( "esp" ), "\n"; print " ", $es->getLocale, " => ", $es->code2country ( "724" ), "\n"; print " ", $es->getLocale, " => ", $es->country2code ( "España", "alpha2" ), "\n"; print " ", $es->getLocale, " => ", $es->country2code ( "España", "alpha3" ), "\n"; print " ", $es->getLocale, " => ", $es->country2code ( "España", "numeric" ), "\n";
This module provides an OO interface to Spanish 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.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
None presently known.
Daniel Yacob, dyacob@cpan.org
Locales::Country
Included with this package:
examples/country*.pl
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '"España",'. Assuming UTF-8
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.