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:
You've been warned :)
<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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
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.