|
Locales::Country::ru - ISO 3166-1 Country Codes in Russian. |
Locales::Country::ru - ISO 3166-1 Country Codes in Russian.
require Locales::Country::ru;
my $ru = new Locales::Country::ru;
print " ", $ru->getLocale, " => ", $ru->code2country ( "ru" ), "\n"; print " ", $ru->getLocale, " => ", $ru->code2country ( "rus" ), "\n"; print " ", $ru->getLocale, " => ", $ru->code2country ( "643" ), "\n";
print " ", $ru->getLocale, " => ", $ru->country2code ( "Россия", "alpha2" ), "\n"; print " ", $ru->getLocale, " => ", $ru->country2code ( "Россия", "alpha3" ), "\n"; print " ", $ru->getLocale, " => ", $ru->country2code ( "Россия", "numeric" ), "\n";
This module provides an OO interface to Russian 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 the Locales::Country manpage module which also exports functions in the style of the Locale::Country manpage.
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
Included with this package:
examples/country*.pl
|
Locales::Country::ru - ISO 3166-1 Country Codes in Russian. |