Net::Domain::ES::ccTLD - Lookup for country names given the TLD code (¡en Español!)
Version 0.01. ¡Se habla Español!
Lookup for a country name given the country code (ccTLD)... in Spanish.
use Net::Domain::ES::ccTLD; my $country = find_name_by_cctld('mx') # $country is 'México' or die "Couldn't find name."; my $neighbor = find_name_by_cctld('us'); # $neighbor is 'Estados Unidos'
It returns the Spanish name of the country code or undef if it can't find it.
This module is similar to Locales::Country::es in purpose, but this one does work (I tried that one and it was busted), I actively maintain it (because I use it for my work), the encoding is not messed up and it's based on the names under:
http://es.wikipedia.org/wiki/Dominio_de_nivel_superior_geogr%C3%A1fico
You've been warned :)
David Moreno, <david at axiombox.com>
<david at axiombox.com>
Please report any bugs or feature requests to bug-net-domain-es-cctld at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Domain-ES-ccTLD. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-net-domain-es-cctld at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Net::Domain::ES::ccTLD
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Domain-ES-ccTLD
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Net-Domain-ES-ccTLD
CPAN Ratings
http://cpanratings.perl.org/d/Net-Domain-ES-ccTLD
Search CPAN
http://search.cpan.org/dist/Net-Domain-ES-ccTLD/
Copyright 2009-2012 David Moreno.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in '(¡en'. Assuming UTF-8
To install Net::Domain::ES::ccTLD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Domain::ES::ccTLD
CPAN shell
perl -MCPAN -e shell install Net::Domain::ES::ccTLD
For more information on module installation, please visit the detailed CPAN module installation guide.