X7ROOT File Manager
Current Path:
/usr/share/perl5/vendor_perl/Locale/Codes
usr
/
share
/
perl5
/
vendor_perl
/
Locale
/
Codes
/
📁
..
📄
API.pod
(10.75 KB)
📄
Changes.pod
(17.49 KB)
📄
Constants.pm
(4.27 KB)
📄
Constants.pod
(881 B)
📄
Country.pm
(2.65 KB)
📄
Country.pod
(6.7 KB)
📄
Country_Codes.pm
(145.57 KB)
📄
Country_Retired.pm
(32.53 KB)
📄
Currency.pm
(2.24 KB)
📄
Currency.pod
(3.07 KB)
📄
Currency_Codes.pm
(51.32 KB)
📄
Currency_Retired.pm
(6.52 KB)
📄
LangExt.pm
(2.08 KB)
📄
LangExt.pod
(2.75 KB)
📄
LangExt_Codes.pm
(49.25 KB)
📄
LangExt_Retired.pm
(1.06 KB)
📄
LangFam.pm
(2.08 KB)
📄
LangFam.pod
(2.67 KB)
📄
LangFam_Codes.pm
(24.94 KB)
📄
LangFam_Retired.pm
(1.05 KB)
📄
LangVar.pm
(2.08 KB)
📄
LangVar.pod
(2.81 KB)
📄
LangVar_Codes.pm
(16.53 KB)
📄
LangVar_Retired.pm
(1.06 KB)
📄
Language.pm
(2.27 KB)
📄
Language.pod
(3.36 KB)
📄
Language_Codes.pm
(1.47 MB)
📄
Language_Retired.pm
(10.34 KB)
📄
Script.pm
(2.18 KB)
📄
Script.pod
(3.16 KB)
📄
Script_Codes.pm
(52.03 KB)
📄
Script_Retired.pm
(3.54 KB)
Editing: Country.pm
package Locale::Codes::Country; # Copyright (C) 2001 Canon Research Centre Europe (CRE). # Copyright (C) 2002-2009 Neil Bowers # Copyright (c) 2010-2013 Sullivan Beck # This program is free software; you can redistribute it and/or modify it # under the same terms as Perl itself. use strict; require 5.006; use warnings; require Exporter; use Carp; use Locale::Codes; use Locale::Codes::Constants; use Locale::Codes::Country_Codes; use Locale::Codes::Country_Retired; #======================================================================= # Public Global Variables #======================================================================= our($VERSION,@ISA,@EXPORT,@EXPORT_OK); $VERSION='3.26'; @ISA = qw(Exporter); @EXPORT = qw(code2country country2code all_country_codes all_country_names country_code2code LOCALE_CODE_ALPHA_2 LOCALE_CODE_ALPHA_3 LOCALE_CODE_NUMERIC LOCALE_CODE_FIPS LOCALE_CODE_DOM ); sub code2country { return Locale::Codes::_code2name('country',@_); } sub country2code { return Locale::Codes::_name2code('country',@_); } sub country_code2code { return Locale::Codes::_code2code('country',@_); } sub all_country_codes { return Locale::Codes::_all_codes('country',@_); } sub all_country_names { return Locale::Codes::_all_names('country',@_); } sub rename_country { return Locale::Codes::_rename('country',@_); } sub add_country { return Locale::Codes::_add_code('country',@_); } sub delete_country { return Locale::Codes::_delete_code('country',@_); } sub add_country_alias { return Locale::Codes::_add_alias('country',@_); } sub delete_country_alias { return Locale::Codes::_delete_alias('country',@_); } sub rename_country_code { return Locale::Codes::_rename_code('country',@_); } sub add_country_code_alias { return Locale::Codes::_add_code_alias('country',@_); } sub delete_country_code_alias { return Locale::Codes::_delete_code_alias('country',@_); } #======================================================================= # # Old function for backward compatibility # #======================================================================= sub alias_code { my($alias,$code,@args) = @_; my $success = rename_country_code($code,$alias,@args); return 0 if (! $success); return $alias; } 1; # 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:
Upload File
Create Folder