/usr/share/perl5/Locale/Codes/Constants.pm is in liblocale-codes-perl 3.55-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | package Locale::Codes::Constants;
# Copyright (C) 2001 Canon Research Centre Europe (CRE).
# Copyright (C) 2002-2009 Neil Bowers
# Copyright (c) 2010-2017 Sullivan Beck
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
# This file was automatically generated. Any changes to this file will
# be lost the next time 'gen_mods' is run.
# Generated on: Fri Nov 17 10:36:33 EST 2017
use strict;
use warnings;
require 5.006;
use Exporter qw(import);
our($VERSION,@EXPORT);
$VERSION = '3.55';
################################################################################
our(@CONSTANTS,%ALL_CODESETS);
our(@CONSTANTS_COUNTRY) = qw(
LOCALE_CODE_ALPHA_2
LOCALE_CODE_ALPHA_3
LOCALE_CODE_DOM
LOCALE_CODE_GENC_ALPHA_2
LOCALE_CODE_GENC_ALPHA_3
LOCALE_CODE_GENC_NUMERIC
LOCALE_CODE_NUMERIC
LOCALE_CODE_UN_ALPHA_3
LOCALE_CODE_UN_NUMERIC
LOCALE_COUNTRY_ALPHA_2
LOCALE_COUNTRY_ALPHA_3
LOCALE_COUNTRY_DOM
LOCALE_COUNTRY_GENC_ALPHA_2
LOCALE_COUNTRY_GENC_ALPHA_3
LOCALE_COUNTRY_GENC_NUMERIC
LOCALE_COUNTRY_NUMERIC
LOCALE_COUNTRY_UN_ALPHA_3
LOCALE_COUNTRY_UN_NUMERIC
);
push(@CONSTANTS,@CONSTANTS_COUNTRY);
our(@CONSTANTS_CURRENCY) = qw(
LOCALE_CURRENCY_ALPHA
LOCALE_CURRENCY_NUMERIC
LOCALE_CURR_ALPHA
LOCALE_CURR_NUMERIC
);
push(@CONSTANTS,@CONSTANTS_CURRENCY);
our(@CONSTANTS_LANGEXT) = qw(
LOCALE_LANGEXT_ALPHA
);
push(@CONSTANTS,@CONSTANTS_LANGEXT);
our(@CONSTANTS_LANGFAM) = qw(
LOCALE_LANGFAM_ALPHA
);
push(@CONSTANTS,@CONSTANTS_LANGFAM);
our(@CONSTANTS_LANGUAGE) = qw(
LOCALE_LANGUAGE_ALPHA_2
LOCALE_LANGUAGE_ALPHA_3
LOCALE_LANGUAGE_TERM
LOCALE_LANG_ALPHA_2
LOCALE_LANG_ALPHA_3
LOCALE_LANG_TERM
);
push(@CONSTANTS,@CONSTANTS_LANGUAGE);
our(@CONSTANTS_LANGVAR) = qw(
LOCALE_LANGVAR_ALPHA
);
push(@CONSTANTS,@CONSTANTS_LANGVAR);
our(@CONSTANTS_SCRIPT) = qw(
LOCALE_SCRIPT_ALPHA
LOCALE_SCRIPT_NUMERIC
);
push(@CONSTANTS,@CONSTANTS_SCRIPT);
@EXPORT = (@CONSTANTS,
qw(
%ALL_CODESETS
));
use constant LOCALE_CODE_ALPHA_2 => 'alpha-2';
use constant LOCALE_CODE_ALPHA_3 => 'alpha-3';
use constant LOCALE_CODE_DOM => 'dom';
use constant LOCALE_CODE_GENC_ALPHA_2 => 'genc-alpha-2';
use constant LOCALE_CODE_GENC_ALPHA_3 => 'genc-alpha-3';
use constant LOCALE_CODE_GENC_NUMERIC => 'genc-numeric';
use constant LOCALE_CODE_NUMERIC => 'numeric';
use constant LOCALE_CODE_UN_ALPHA_3 => 'un-alpha-3';
use constant LOCALE_CODE_UN_NUMERIC => 'un-numeric';
use constant LOCALE_COUNTRY_ALPHA_2 => 'alpha-2';
use constant LOCALE_COUNTRY_ALPHA_3 => 'alpha-3';
use constant LOCALE_COUNTRY_DOM => 'dom';
use constant LOCALE_COUNTRY_GENC_ALPHA_2 => 'genc-alpha-2';
use constant LOCALE_COUNTRY_GENC_ALPHA_3 => 'genc-alpha-3';
use constant LOCALE_COUNTRY_GENC_NUMERIC => 'genc-numeric';
use constant LOCALE_COUNTRY_NUMERIC => 'numeric';
use constant LOCALE_COUNTRY_UN_ALPHA_3 => 'un-alpha-3';
use constant LOCALE_COUNTRY_UN_NUMERIC => 'un-numeric';
$ALL_CODESETS{'country'} =
{
'default' => 'alpha-2',
'module' => 'Country',
'codesets' => {
'alpha-2' => ['lc'],
'alpha-3' => ['lc'],
'dom' => ['lc'],
'genc-alpha-2' => ['uc'],
'genc-alpha-3' => ['uc'],
'genc-numeric' => ['numeric',3],
'numeric' => ['numeric',3],
'un-alpha-3' => ['uc'],
'un-numeric' => ['numeric',3],
}
};
use constant LOCALE_CURRENCY_ALPHA => 'alpha';
use constant LOCALE_CURRENCY_NUMERIC => 'num';
use constant LOCALE_CURR_ALPHA => 'alpha';
use constant LOCALE_CURR_NUMERIC => 'num';
$ALL_CODESETS{'currency'} =
{
'default' => 'alpha',
'module' => 'Currency',
'codesets' => {
'alpha' => ['uc'],
'num' => ['numeric',3],
}
};
use constant LOCALE_LANGEXT_ALPHA => 'alpha';
$ALL_CODESETS{'langext'} =
{
'default' => 'alpha',
'module' => 'LangExt',
'codesets' => {
'alpha' => ['lc'],
}
};
use constant LOCALE_LANGFAM_ALPHA => 'alpha';
$ALL_CODESETS{'langfam'} =
{
'default' => 'alpha',
'module' => 'LangFam',
'codesets' => {
'alpha' => ['lc'],
}
};
use constant LOCALE_LANGUAGE_ALPHA_2 => 'alpha-2';
use constant LOCALE_LANGUAGE_ALPHA_3 => 'alpha-3';
use constant LOCALE_LANGUAGE_TERM => 'term';
use constant LOCALE_LANG_ALPHA_2 => 'alpha-2';
use constant LOCALE_LANG_ALPHA_3 => 'alpha-3';
use constant LOCALE_LANG_TERM => 'term';
$ALL_CODESETS{'language'} =
{
'default' => 'alpha-2',
'module' => 'Language',
'codesets' => {
'alpha-2' => ['lc'],
'alpha-3' => ['lc'],
'term' => ['lc'],
}
};
use constant LOCALE_LANGVAR_ALPHA => 'alpha';
$ALL_CODESETS{'langvar'} =
{
'default' => 'alpha',
'module' => 'LangVar',
'codesets' => {
'alpha' => ['lc'],
}
};
use constant LOCALE_SCRIPT_ALPHA => 'alpha';
use constant LOCALE_SCRIPT_NUMERIC => 'num';
$ALL_CODESETS{'script'} =
{
'default' => 'alpha',
'module' => 'Script',
'codesets' => {
'alpha' => ['ucfirst'],
'num' => ['numeric',3],
}
};
1;
|