line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
package Geo::CountryFlags::ISO; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
################################################################ |
5
|
|
|
|
|
|
|
# WARNING! this module is automatically generated DO NOT EDIT! # |
6
|
|
|
|
|
|
|
# see Geo::CountryFlags::Util instead # |
7
|
|
|
|
|
|
|
# # |
8
|
|
|
|
|
|
|
# creation date: Sat Sep 16 07:05:44 2006 GMT # |
9
|
|
|
|
|
|
|
################################################################ |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
693
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
12
|
1
|
|
|
1
|
|
4
|
use vars qw($VERSION); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
824
|
|
13
|
|
|
|
|
|
|
$VERSION = '2006258.002'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
my $ISO = { |
16
|
|
|
|
|
|
|
'AD' => q|Andorra|, |
17
|
|
|
|
|
|
|
'AE' => q|United Arab Emirates|, |
18
|
|
|
|
|
|
|
'AF' => q|Afghanistan|, |
19
|
|
|
|
|
|
|
'AG' => q|Antigua and Barbuda|, |
20
|
|
|
|
|
|
|
'AI' => q|Anguilla|, |
21
|
|
|
|
|
|
|
'AL' => q|Albania|, |
22
|
|
|
|
|
|
|
'AM' => q|Armenia|, |
23
|
|
|
|
|
|
|
'AN' => q|Netherlands Antilles|, |
24
|
|
|
|
|
|
|
'AO' => q|Angola|, |
25
|
|
|
|
|
|
|
'AQ' => q|Antarctica|, |
26
|
|
|
|
|
|
|
'AR' => q|Argentina|, |
27
|
|
|
|
|
|
|
'AS' => q|American Samoa|, |
28
|
|
|
|
|
|
|
'AT' => q|Austria|, |
29
|
|
|
|
|
|
|
'AU' => q|Australia|, |
30
|
|
|
|
|
|
|
'AW' => q|Aruba|, |
31
|
|
|
|
|
|
|
'AX' => q|ÅLand Islands|, |
32
|
|
|
|
|
|
|
'AZ' => q|Azerbaijan|, |
33
|
|
|
|
|
|
|
'BA' => q|Bosnia and Herzegovina|, |
34
|
|
|
|
|
|
|
'BB' => q|Barbados|, |
35
|
|
|
|
|
|
|
'BD' => q|Bangladesh|, |
36
|
|
|
|
|
|
|
'BE' => q|Belgium|, |
37
|
|
|
|
|
|
|
'BF' => q|Burkina Faso|, |
38
|
|
|
|
|
|
|
'BG' => q|Bulgaria|, |
39
|
|
|
|
|
|
|
'BH' => q|Bahrain|, |
40
|
|
|
|
|
|
|
'BI' => q|Burundi|, |
41
|
|
|
|
|
|
|
'BJ' => q|Benin|, |
42
|
|
|
|
|
|
|
'BM' => q|Bermuda|, |
43
|
|
|
|
|
|
|
'BN' => q|Brunei Darussalam|, |
44
|
|
|
|
|
|
|
'BO' => q|Bolivia|, |
45
|
|
|
|
|
|
|
'BR' => q|Brazil|, |
46
|
|
|
|
|
|
|
'BS' => q|Bahamas|, |
47
|
|
|
|
|
|
|
'BT' => q|Bhutan|, |
48
|
|
|
|
|
|
|
'BV' => q|Bouvet Island|, |
49
|
|
|
|
|
|
|
'BW' => q|Botswana|, |
50
|
|
|
|
|
|
|
'BY' => q|Belarus|, |
51
|
|
|
|
|
|
|
'BZ' => q|Belize|, |
52
|
|
|
|
|
|
|
'CA' => q|Canada|, |
53
|
|
|
|
|
|
|
'CC' => q|Cocos (Keeling) Islands|, |
54
|
|
|
|
|
|
|
'CD' => q|Congo, the Democratic Republic Of the|, |
55
|
|
|
|
|
|
|
'CF' => q|Central African Republic|, |
56
|
|
|
|
|
|
|
'CG' => q|Congo|, |
57
|
|
|
|
|
|
|
'CH' => q|Switzerland|, |
58
|
|
|
|
|
|
|
'CI' => q|Cote D'Ivoire|, |
59
|
|
|
|
|
|
|
'CK' => q|Cook Islands|, |
60
|
|
|
|
|
|
|
'CL' => q|Chile|, |
61
|
|
|
|
|
|
|
'CM' => q|Cameroon|, |
62
|
|
|
|
|
|
|
'CN' => q|China|, |
63
|
|
|
|
|
|
|
'CO' => q|Colombia|, |
64
|
|
|
|
|
|
|
'CR' => q|Costa Rica|, |
65
|
|
|
|
|
|
|
'CS' => q|Serbia and Montenegro|, |
66
|
|
|
|
|
|
|
'CU' => q|Cuba|, |
67
|
|
|
|
|
|
|
'CV' => q|Cape Verde|, |
68
|
|
|
|
|
|
|
'CX' => q|Christmas Island|, |
69
|
|
|
|
|
|
|
'CY' => q|Cyprus|, |
70
|
|
|
|
|
|
|
'CZ' => q|Czech Republic|, |
71
|
|
|
|
|
|
|
'DE' => q|Germany|, |
72
|
|
|
|
|
|
|
'DJ' => q|Djibouti|, |
73
|
|
|
|
|
|
|
'DK' => q|Denmark|, |
74
|
|
|
|
|
|
|
'DM' => q|Dominica|, |
75
|
|
|
|
|
|
|
'DO' => q|Dominican Republic|, |
76
|
|
|
|
|
|
|
'DZ' => q|Algeria|, |
77
|
|
|
|
|
|
|
'EC' => q|Ecuador|, |
78
|
|
|
|
|
|
|
'EE' => q|Estonia|, |
79
|
|
|
|
|
|
|
'EG' => q|Egypt|, |
80
|
|
|
|
|
|
|
'EH' => q|Western Sahara|, |
81
|
|
|
|
|
|
|
'ER' => q|Eritrea|, |
82
|
|
|
|
|
|
|
'ES' => q|Spain|, |
83
|
|
|
|
|
|
|
'ET' => q|Ethiopia|, |
84
|
|
|
|
|
|
|
'FI' => q|Finland|, |
85
|
|
|
|
|
|
|
'FJ' => q|Fiji|, |
86
|
|
|
|
|
|
|
'FK' => q|Falkland Islands (Malvinas)|, |
87
|
|
|
|
|
|
|
'FM' => q|Micronesia, Federated States Of|, |
88
|
|
|
|
|
|
|
'FO' => q|Faroe Islands|, |
89
|
|
|
|
|
|
|
'FR' => q|France|, |
90
|
|
|
|
|
|
|
'GA' => q|Gabon|, |
91
|
|
|
|
|
|
|
'GB' => q|United Kingdom|, |
92
|
|
|
|
|
|
|
'GD' => q|Grenada|, |
93
|
|
|
|
|
|
|
'GE' => q|Georgia|, |
94
|
|
|
|
|
|
|
'GF' => q|French Guiana|, |
95
|
|
|
|
|
|
|
'GG' => q|Guernsey|, |
96
|
|
|
|
|
|
|
'GH' => q|Ghana|, |
97
|
|
|
|
|
|
|
'GI' => q|Gibraltar|, |
98
|
|
|
|
|
|
|
'GL' => q|Greenland|, |
99
|
|
|
|
|
|
|
'GM' => q|Gambia|, |
100
|
|
|
|
|
|
|
'GN' => q|Guinea|, |
101
|
|
|
|
|
|
|
'GP' => q|Guadeloupe|, |
102
|
|
|
|
|
|
|
'GQ' => q|Equatorial Guinea|, |
103
|
|
|
|
|
|
|
'GR' => q|Greece|, |
104
|
|
|
|
|
|
|
'GS' => q|South Georgia and the South Sandwich Islands|, |
105
|
|
|
|
|
|
|
'GT' => q|Guatemala|, |
106
|
|
|
|
|
|
|
'GU' => q|Guam|, |
107
|
|
|
|
|
|
|
'GW' => q|Guinea-Bissau|, |
108
|
|
|
|
|
|
|
'GY' => q|Guyana|, |
109
|
|
|
|
|
|
|
'HK' => q|Hong Kong|, |
110
|
|
|
|
|
|
|
'HM' => q|Heard Island and Mcdonald Islands|, |
111
|
|
|
|
|
|
|
'HN' => q|Honduras|, |
112
|
|
|
|
|
|
|
'HR' => q|Croatia|, |
113
|
|
|
|
|
|
|
'HT' => q|Haiti|, |
114
|
|
|
|
|
|
|
'HU' => q|Hungary|, |
115
|
|
|
|
|
|
|
'ID' => q|Indonesia|, |
116
|
|
|
|
|
|
|
'IE' => q|Ireland|, |
117
|
|
|
|
|
|
|
'IL' => q|Israel|, |
118
|
|
|
|
|
|
|
'IM' => q|Isle Of Man|, |
119
|
|
|
|
|
|
|
'IN' => q|India|, |
120
|
|
|
|
|
|
|
'IO' => q|British Indian Ocean Territory|, |
121
|
|
|
|
|
|
|
'IQ' => q|Iraq|, |
122
|
|
|
|
|
|
|
'IR' => q|Iran, Islamic Republic Of|, |
123
|
|
|
|
|
|
|
'IS' => q|Iceland|, |
124
|
|
|
|
|
|
|
'IT' => q|Italy|, |
125
|
|
|
|
|
|
|
'JE' => q|Jersey|, |
126
|
|
|
|
|
|
|
'JM' => q|Jamaica|, |
127
|
|
|
|
|
|
|
'JO' => q|Jordan|, |
128
|
|
|
|
|
|
|
'JP' => q|Japan|, |
129
|
|
|
|
|
|
|
'KE' => q|Kenya|, |
130
|
|
|
|
|
|
|
'KG' => q|Kyrgyzstan|, |
131
|
|
|
|
|
|
|
'KH' => q|Cambodia|, |
132
|
|
|
|
|
|
|
'KI' => q|Kiribati|, |
133
|
|
|
|
|
|
|
'KM' => q|Comoros|, |
134
|
|
|
|
|
|
|
'KN' => q|Saint Kitts and Nevis|, |
135
|
|
|
|
|
|
|
'KP' => q|Korea, Democratic People'S Republic Of|, |
136
|
|
|
|
|
|
|
'KR' => q|Korea, Republic Of|, |
137
|
|
|
|
|
|
|
'KW' => q|Kuwait|, |
138
|
|
|
|
|
|
|
'KY' => q|Cayman Islands|, |
139
|
|
|
|
|
|
|
'KZ' => q|Kazakhstan|, |
140
|
|
|
|
|
|
|
'LA' => q|Lao People'S Democratic Republic|, |
141
|
|
|
|
|
|
|
'LB' => q|Lebanon|, |
142
|
|
|
|
|
|
|
'LC' => q|Saint Lucia|, |
143
|
|
|
|
|
|
|
'LI' => q|Liechtenstein|, |
144
|
|
|
|
|
|
|
'LK' => q|Sri Lanka|, |
145
|
|
|
|
|
|
|
'LR' => q|Liberia|, |
146
|
|
|
|
|
|
|
'LS' => q|Lesotho|, |
147
|
|
|
|
|
|
|
'LT' => q|Lithuania|, |
148
|
|
|
|
|
|
|
'LU' => q|Luxembourg|, |
149
|
|
|
|
|
|
|
'LV' => q|Latvia|, |
150
|
|
|
|
|
|
|
'LY' => q|Libyan Arab Jamahiriya|, |
151
|
|
|
|
|
|
|
'MA' => q|Morocco|, |
152
|
|
|
|
|
|
|
'MC' => q|Monaco|, |
153
|
|
|
|
|
|
|
'MD' => q|Moldova, Republic Of|, |
154
|
|
|
|
|
|
|
'MG' => q|Madagascar|, |
155
|
|
|
|
|
|
|
'MH' => q|Marshall Islands|, |
156
|
|
|
|
|
|
|
'MK' => q|Macedonia, the Former Yugoslav Republic Of|, |
157
|
|
|
|
|
|
|
'ML' => q|Mali|, |
158
|
|
|
|
|
|
|
'MM' => q|Myanmar|, |
159
|
|
|
|
|
|
|
'MN' => q|Mongolia|, |
160
|
|
|
|
|
|
|
'MO' => q|Macao|, |
161
|
|
|
|
|
|
|
'MP' => q|Northern Mariana Islands|, |
162
|
|
|
|
|
|
|
'MQ' => q|Martinique|, |
163
|
|
|
|
|
|
|
'MR' => q|Mauritania|, |
164
|
|
|
|
|
|
|
'MS' => q|Montserrat|, |
165
|
|
|
|
|
|
|
'MT' => q|Malta|, |
166
|
|
|
|
|
|
|
'MU' => q|Mauritius|, |
167
|
|
|
|
|
|
|
'MV' => q|Maldives|, |
168
|
|
|
|
|
|
|
'MW' => q|Malawi|, |
169
|
|
|
|
|
|
|
'MX' => q|Mexico|, |
170
|
|
|
|
|
|
|
'MY' => q|Malaysia|, |
171
|
|
|
|
|
|
|
'MZ' => q|Mozambique|, |
172
|
|
|
|
|
|
|
'NA' => q|Namibia|, |
173
|
|
|
|
|
|
|
'NC' => q|New Caledonia|, |
174
|
|
|
|
|
|
|
'NE' => q|Niger|, |
175
|
|
|
|
|
|
|
'NF' => q|Norfolk Island|, |
176
|
|
|
|
|
|
|
'NG' => q|Nigeria|, |
177
|
|
|
|
|
|
|
'NI' => q|Nicaragua|, |
178
|
|
|
|
|
|
|
'NL' => q|Netherlands|, |
179
|
|
|
|
|
|
|
'NO' => q|Norway|, |
180
|
|
|
|
|
|
|
'NP' => q|Nepal|, |
181
|
|
|
|
|
|
|
'NR' => q|Nauru|, |
182
|
|
|
|
|
|
|
'NU' => q|Niue|, |
183
|
|
|
|
|
|
|
'NZ' => q|New Zealand|, |
184
|
|
|
|
|
|
|
'OM' => q|Oman|, |
185
|
|
|
|
|
|
|
'PA' => q|Panama|, |
186
|
|
|
|
|
|
|
'PE' => q|Peru|, |
187
|
|
|
|
|
|
|
'PF' => q|French Polynesia|, |
188
|
|
|
|
|
|
|
'PG' => q|Papua New Guinea|, |
189
|
|
|
|
|
|
|
'PH' => q|Philippines|, |
190
|
|
|
|
|
|
|
'PK' => q|Pakistan|, |
191
|
|
|
|
|
|
|
'PL' => q|Poland|, |
192
|
|
|
|
|
|
|
'PM' => q|Saint Pierre and Miquelon|, |
193
|
|
|
|
|
|
|
'PN' => q|Pitcairn|, |
194
|
|
|
|
|
|
|
'PR' => q|Puerto Rico|, |
195
|
|
|
|
|
|
|
'PS' => q|Palestinian Territory, Occupied|, |
196
|
|
|
|
|
|
|
'PT' => q|Portugal|, |
197
|
|
|
|
|
|
|
'PW' => q|Palau|, |
198
|
|
|
|
|
|
|
'PY' => q|Paraguay|, |
199
|
|
|
|
|
|
|
'QA' => q|Qatar|, |
200
|
|
|
|
|
|
|
'RE' => q|Reunion|, |
201
|
|
|
|
|
|
|
'RO' => q|Romania|, |
202
|
|
|
|
|
|
|
'RU' => q|Russian Federation|, |
203
|
|
|
|
|
|
|
'RW' => q|Rwanda|, |
204
|
|
|
|
|
|
|
'SA' => q|Saudi Arabia|, |
205
|
|
|
|
|
|
|
'SB' => q|Solomon Islands|, |
206
|
|
|
|
|
|
|
'SC' => q|Seychelles|, |
207
|
|
|
|
|
|
|
'SD' => q|Sudan|, |
208
|
|
|
|
|
|
|
'SE' => q|Sweden|, |
209
|
|
|
|
|
|
|
'SG' => q|Singapore|, |
210
|
|
|
|
|
|
|
'SH' => q|Saint Helena|, |
211
|
|
|
|
|
|
|
'SI' => q|Slovenia|, |
212
|
|
|
|
|
|
|
'SJ' => q|Svalbard and Jan Mayen|, |
213
|
|
|
|
|
|
|
'SK' => q|Slovakia|, |
214
|
|
|
|
|
|
|
'SL' => q|Sierra Leone|, |
215
|
|
|
|
|
|
|
'SM' => q|San Marino|, |
216
|
|
|
|
|
|
|
'SN' => q|Senegal|, |
217
|
|
|
|
|
|
|
'SO' => q|Somalia|, |
218
|
|
|
|
|
|
|
'SR' => q|Suriname|, |
219
|
|
|
|
|
|
|
'ST' => q|Sao Tome and Principe|, |
220
|
|
|
|
|
|
|
'SV' => q|El Salvador|, |
221
|
|
|
|
|
|
|
'SY' => q|Syrian Arab Republic|, |
222
|
|
|
|
|
|
|
'SZ' => q|Swaziland|, |
223
|
|
|
|
|
|
|
'TC' => q|Turks and Caicos Islands|, |
224
|
|
|
|
|
|
|
'TD' => q|Chad|, |
225
|
|
|
|
|
|
|
'TF' => q|French Southern Territories|, |
226
|
|
|
|
|
|
|
'TG' => q|Togo|, |
227
|
|
|
|
|
|
|
'TH' => q|Thailand|, |
228
|
|
|
|
|
|
|
'TJ' => q|Tajikistan|, |
229
|
|
|
|
|
|
|
'TK' => q|Tokelau|, |
230
|
|
|
|
|
|
|
'TL' => q|Timor-Leste|, |
231
|
|
|
|
|
|
|
'TM' => q|Turkmenistan|, |
232
|
|
|
|
|
|
|
'TN' => q|Tunisia|, |
233
|
|
|
|
|
|
|
'TO' => q|Tonga|, |
234
|
|
|
|
|
|
|
'TR' => q|Turkey|, |
235
|
|
|
|
|
|
|
'TT' => q|Trinidad and Tobago|, |
236
|
|
|
|
|
|
|
'TV' => q|Tuvalu|, |
237
|
|
|
|
|
|
|
'TW' => q|Taiwan, Province Of China|, |
238
|
|
|
|
|
|
|
'TZ' => q|Tanzania, United Republic Of|, |
239
|
|
|
|
|
|
|
'UA' => q|Ukraine|, |
240
|
|
|
|
|
|
|
'UG' => q|Uganda|, |
241
|
|
|
|
|
|
|
'UM' => q|United States Minor Outlying Islands|, |
242
|
|
|
|
|
|
|
'US' => q|United States|, |
243
|
|
|
|
|
|
|
'UY' => q|Uruguay|, |
244
|
|
|
|
|
|
|
'UZ' => q|Uzbekistan|, |
245
|
|
|
|
|
|
|
'VA' => q|Holy See (Vatican City State)|, |
246
|
|
|
|
|
|
|
'VC' => q|Saint Vincent and the Grenadines|, |
247
|
|
|
|
|
|
|
'VE' => q|Venezuela|, |
248
|
|
|
|
|
|
|
'VG' => q|Virgin Islands, British|, |
249
|
|
|
|
|
|
|
'VI' => q|Virgin Islands, U.S.|, |
250
|
|
|
|
|
|
|
'VN' => q|Viet Nam|, |
251
|
|
|
|
|
|
|
'VU' => q|Vanuatu|, |
252
|
|
|
|
|
|
|
'WF' => q|Wallis and Futuna|, |
253
|
|
|
|
|
|
|
'WS' => q|Samoa|, |
254
|
|
|
|
|
|
|
'YE' => q|Yemen|, |
255
|
|
|
|
|
|
|
'YT' => q|Mayotte|, |
256
|
|
|
|
|
|
|
'ZA' => q|South Africa|, |
257
|
|
|
|
|
|
|
'ZM' => q|Zambia|, |
258
|
|
|
|
|
|
|
'ZW' => q|Zimbabwe|, |
259
|
|
|
|
|
|
|
}; |
260
|
|
|
|
|
|
|
|
261
|
|
|
|
|
|
|
sub AUTOLOAD { |
262
|
1
|
|
|
1
|
|
6
|
no strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
276
|
|
263
|
0
|
|
|
0
|
|
0
|
$AUTOLOAD =~ /[^:]+$/; |
264
|
0
|
|
|
|
|
0
|
value($&); |
265
|
|
|
|
|
|
|
} |
266
|
|
|
|
|
|
|
|
267
|
|
|
|
|
|
|
sub new { |
268
|
0
|
|
|
0
|
1
|
0
|
my $proto = shift; |
269
|
0
|
|
0
|
|
|
0
|
my $class = ref $proto || $proto || __PACKAGE__; |
270
|
0
|
|
|
|
|
0
|
my $self = {}; |
271
|
0
|
|
|
|
|
0
|
bless $self, $class; |
272
|
|
|
|
|
|
|
} |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
sub hashptr { |
275
|
1
|
|
|
1
|
1
|
27
|
my($proto,$class) = @_; |
276
|
1
|
50
|
|
|
|
3
|
$proto = $class if $class; |
277
|
1
|
|
33
|
|
|
7
|
$class = ref $proto || $proto; |
278
|
1
|
|
|
|
|
1
|
my $rv = {}; |
279
|
1
|
|
|
|
|
169
|
%$rv = %$ISO; |
280
|
1
|
|
|
|
|
13
|
bless $rv, $class; |
281
|
|
|
|
|
|
|
} |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
sub value { |
284
|
0
|
0
|
|
0
|
1
|
|
return (exists $ISO->{$_[0]}) ? $ISO->{$_[0]} : undef; |
285
|
|
|
|
|
|
|
} |
286
|
|
|
|
|
|
|
|
287
|
|
|
|
|
|
|
sub subref { |
288
|
0
|
|
|
0
|
1
|
|
return \&value; |
289
|
|
|
|
|
|
|
} |
290
|
|
|
|
|
|
|
|
291
|
|
|
|
|
|
|
1; |
292
|
|
|
|
|
|
|
__END__ |