Blame examples/country2code
|
Packit |
f3e6b9 |
#!/usr/bin/perl -w
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
require 5.002;
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
use Locale::Codes::Country;
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
print country2code('Bolivia'),"\n";
|
|
Packit |
f3e6b9 |
print country2code('Bolivia, Plurinational State of'),"\n";
|
|
Packit |
f3e6b9 |
print country2code('Bolivia (Plurinational State of)'),"\n";
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
print country2code('Bolivia',LOCALE_CODE_ALPHA_3),"\n";
|
|
Packit |
f3e6b9 |
print country2code('Bolivia, Plurinational State of',LOCALE_CODE_ALPHA_3),"\n";
|
|
Packit |
f3e6b9 |
print country2code('Bolivia (Plurinational State of)',LOCALE_CODE_ALPHA_3),"\n";
|
|
Packit |
f3e6b9 |
|
|
Packit |
f3e6b9 |
# Local Variables:
|
|
Packit |
f3e6b9 |
# mode: cperl
|
|
Packit |
f3e6b9 |
# indent-tabs-mode: nil
|
|
Packit |
f3e6b9 |
# cperl-indent-level: 3
|
|
Packit |
f3e6b9 |
# cperl-continued-statement-offset: 2
|
|
Packit |
f3e6b9 |
# cperl-continued-brace-offset: 0
|
|
Packit |
f3e6b9 |
# cperl-brace-offset: 0
|
|
Packit |
f3e6b9 |
# cperl-brace-imaginary-offset: 0
|
|
Packit |
f3e6b9 |
# cperl-label-offset: 0
|
|
Packit |
f3e6b9 |
# End:
|
|
Packit |
f3e6b9 |
|