Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /usr/share/doc/perl-Locale-Codes-3.26/examples/ |
#!/usr/bin/perl -w require 5.002; use Locale::Codes::Country; print country2code('Bolivia'),"\n"; print country2code('Bolivia, Plurinational State of'),"\n"; print country2code('Bolivia (Plurinational State of)'),"\n"; print country2code('Bolivia',LOCALE_CODE_ALPHA_3),"\n"; print country2code('Bolivia, Plurinational State of',LOCALE_CODE_ALPHA_3),"\n"; print country2code('Bolivia (Plurinational State of)',LOCALE_CODE_ALPHA_3),"\n"; # Local Variables: # mode: cperl # indent-tabs-mode: nil # cperl-indent-level: 3 # cperl-continued-statement-offset: 2 # cperl-continued-brace-offset: 0 # cperl-brace-offset: 0 # cperl-brace-imaginary-offset: 0 # cperl-label-offset: -2 # End: