NAME

Locales::Country::zh - ISO 3166-1 Country Codes in Chinese.

SYNOPSIS

require Locales::Country::zh;

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

print "  ", $zh->getLocale, " => ", $zh->code2country ( "cn" ), "\n";
print "  ", $zh->getLocale, " => ", $zh->code2country ( "chn" ), "\n";
print "  ", $zh->getLocale, " => ", $zh->code2country ( "156" ), "\n";

print "  ", $zh->getLocale, " => ", $zh->country2code ( "中華人民共和國", "alpha2" ), "\n";
print "  ", $zh->getLocale, " => ", $zh->country2code ( "中華人民共和國", "alpha3" ), "\n";
print "  ", $zh->getLocale, " => ", $zh->country2code ( "中華人民共和國", "numeric" ), "\n";

DESCRIPTION

This module provides an OO interface to Chinese 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

1 POD Error

The following errors were encountered while parsing the POD:

Around line 32:

Non-ASCII character seen before =encoding in '"中華人民共和國",'. Assuming UTF-8