perl-Geography-Countries -- 2-letter, 3-letter, and numerical codes for countries
http://search.cpan.org/dist/Geography-Countries/
This module maps country names, and their 2-letter, 3-letter and numerical
codes, as defined by the ISO-3166 maintenance agency, and defined by
the UNSD.