line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
|
|
|
|
|
|
package Geo::CountryFlags::I2C; |
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
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
35
|
|
12
|
1
|
|
|
1
|
|
4
|
use vars qw($VERSION); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
629
|
|
13
|
|
|
|
|
|
|
$VERSION = '2006258.002'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
my $I2C = { |
16
|
|
|
|
|
|
|
'AD' => q|an|, |
17
|
|
|
|
|
|
|
'AE' => q|ae|, |
18
|
|
|
|
|
|
|
'AF' => q|af|, |
19
|
|
|
|
|
|
|
'AG' => q|ac|, |
20
|
|
|
|
|
|
|
'AI' => q|av|, |
21
|
|
|
|
|
|
|
'AL' => q|al|, |
22
|
|
|
|
|
|
|
'AM' => q|am|, |
23
|
|
|
|
|
|
|
'AN' => q|nt|, |
24
|
|
|
|
|
|
|
'AO' => q|ao|, |
25
|
|
|
|
|
|
|
'AQ' => q|ay|, |
26
|
|
|
|
|
|
|
'AR' => q|ar|, |
27
|
|
|
|
|
|
|
'AS' => q|aq|, |
28
|
|
|
|
|
|
|
'AT' => q|au|, |
29
|
|
|
|
|
|
|
'AU' => q|as|, |
30
|
|
|
|
|
|
|
'AW' => q|aa|, |
31
|
|
|
|
|
|
|
'AZ' => q|aj|, |
32
|
|
|
|
|
|
|
'BA' => q|bk|, |
33
|
|
|
|
|
|
|
'BB' => q|bb|, |
34
|
|
|
|
|
|
|
'BD' => q|bg|, |
35
|
|
|
|
|
|
|
'BE' => q|be|, |
36
|
|
|
|
|
|
|
'BF' => q|uv|, |
37
|
|
|
|
|
|
|
'BG' => q|bu|, |
38
|
|
|
|
|
|
|
'BH' => q|ba|, |
39
|
|
|
|
|
|
|
'BI' => q|by|, |
40
|
|
|
|
|
|
|
'BJ' => q|bn|, |
41
|
|
|
|
|
|
|
'BM' => q|bd|, |
42
|
|
|
|
|
|
|
'BN' => q|bx|, |
43
|
|
|
|
|
|
|
'BO' => q|bl|, |
44
|
|
|
|
|
|
|
'BR' => q|br|, |
45
|
|
|
|
|
|
|
'BS' => q|bf|, |
46
|
|
|
|
|
|
|
'BT' => q|bt|, |
47
|
|
|
|
|
|
|
'BV' => q|bv|, |
48
|
|
|
|
|
|
|
'BW' => q|bc|, |
49
|
|
|
|
|
|
|
'BY' => q|bo|, |
50
|
|
|
|
|
|
|
'BZ' => q|bh|, |
51
|
|
|
|
|
|
|
'CA' => q|ca|, |
52
|
|
|
|
|
|
|
'CC' => q|ck|, |
53
|
|
|
|
|
|
|
'CD' => q|cg|, |
54
|
|
|
|
|
|
|
'CF' => q|ct|, |
55
|
|
|
|
|
|
|
'CG' => q|cf|, |
56
|
|
|
|
|
|
|
'CH' => q|sz|, |
57
|
|
|
|
|
|
|
'CI' => q|iv|, |
58
|
|
|
|
|
|
|
'CK' => q|cw|, |
59
|
|
|
|
|
|
|
'CL' => q|ci|, |
60
|
|
|
|
|
|
|
'CM' => q|cm|, |
61
|
|
|
|
|
|
|
'CN' => q|ch|, |
62
|
|
|
|
|
|
|
'CO' => q|co|, |
63
|
|
|
|
|
|
|
'CR' => q|cs|, |
64
|
|
|
|
|
|
|
'CS' => q|rb|, |
65
|
|
|
|
|
|
|
'CU' => q|cu|, |
66
|
|
|
|
|
|
|
'CV' => q|cv|, |
67
|
|
|
|
|
|
|
'CX' => q|kt|, |
68
|
|
|
|
|
|
|
'CY' => q|cy|, |
69
|
|
|
|
|
|
|
'CZ' => q|ez|, |
70
|
|
|
|
|
|
|
'DE' => q|gm|, |
71
|
|
|
|
|
|
|
'DJ' => q|dj|, |
72
|
|
|
|
|
|
|
'DK' => q|da|, |
73
|
|
|
|
|
|
|
'DM' => q|do|, |
74
|
|
|
|
|
|
|
'DO' => q|dr|, |
75
|
|
|
|
|
|
|
'DZ' => q|ag|, |
76
|
|
|
|
|
|
|
'EC' => q|ec|, |
77
|
|
|
|
|
|
|
'EE' => q|en|, |
78
|
|
|
|
|
|
|
'EG' => q|eg|, |
79
|
|
|
|
|
|
|
'EH' => q|wi|, |
80
|
|
|
|
|
|
|
'ER' => q|er|, |
81
|
|
|
|
|
|
|
'ES' => q|sp|, |
82
|
|
|
|
|
|
|
'ET' => q|et|, |
83
|
|
|
|
|
|
|
'FI' => q|fi|, |
84
|
|
|
|
|
|
|
'FJ' => q|fj|, |
85
|
|
|
|
|
|
|
'FK' => q|fk|, |
86
|
|
|
|
|
|
|
'FM' => q|fm|, |
87
|
|
|
|
|
|
|
'FO' => q|fo|, |
88
|
|
|
|
|
|
|
'FR' => q|fr|, |
89
|
|
|
|
|
|
|
'GA' => q|gb|, |
90
|
|
|
|
|
|
|
'GB' => q|uk|, |
91
|
|
|
|
|
|
|
'GD' => q|gj|, |
92
|
|
|
|
|
|
|
'GE' => q|gg|, |
93
|
|
|
|
|
|
|
'GF' => q|fg|, |
94
|
|
|
|
|
|
|
'GG' => q|gk|, |
95
|
|
|
|
|
|
|
'GH' => q|gh|, |
96
|
|
|
|
|
|
|
'GI' => q|gi|, |
97
|
|
|
|
|
|
|
'GL' => q|gl|, |
98
|
|
|
|
|
|
|
'GM' => q|ga|, |
99
|
|
|
|
|
|
|
'GN' => q|gv|, |
100
|
|
|
|
|
|
|
'GP' => q|gp|, |
101
|
|
|
|
|
|
|
'GQ' => q|ek|, |
102
|
|
|
|
|
|
|
'GR' => q|gr|, |
103
|
|
|
|
|
|
|
'GS' => q|sx|, |
104
|
|
|
|
|
|
|
'GT' => q|gt|, |
105
|
|
|
|
|
|
|
'GU' => q|gq|, |
106
|
|
|
|
|
|
|
'GW' => q|pu|, |
107
|
|
|
|
|
|
|
'GY' => q|gy|, |
108
|
|
|
|
|
|
|
'HK' => q|hk|, |
109
|
|
|
|
|
|
|
'HM' => q|hm|, |
110
|
|
|
|
|
|
|
'HN' => q|ho|, |
111
|
|
|
|
|
|
|
'HR' => q|hr|, |
112
|
|
|
|
|
|
|
'HT' => q|ha|, |
113
|
|
|
|
|
|
|
'HU' => q|hu|, |
114
|
|
|
|
|
|
|
'ID' => q|id|, |
115
|
|
|
|
|
|
|
'IE' => q|ei|, |
116
|
|
|
|
|
|
|
'IL' => q|is|, |
117
|
|
|
|
|
|
|
'IM' => q|im|, |
118
|
|
|
|
|
|
|
'IN' => q|in|, |
119
|
|
|
|
|
|
|
'IO' => q|io|, |
120
|
|
|
|
|
|
|
'IQ' => q|iz|, |
121
|
|
|
|
|
|
|
'IR' => q|ir|, |
122
|
|
|
|
|
|
|
'IS' => q|ic|, |
123
|
|
|
|
|
|
|
'IT' => q|it|, |
124
|
|
|
|
|
|
|
'JE' => q|je|, |
125
|
|
|
|
|
|
|
'JM' => q|jm|, |
126
|
|
|
|
|
|
|
'JO' => q|jo|, |
127
|
|
|
|
|
|
|
'JP' => q|ja|, |
128
|
|
|
|
|
|
|
'KE' => q|ke|, |
129
|
|
|
|
|
|
|
'KG' => q|kg|, |
130
|
|
|
|
|
|
|
'KH' => q|cb|, |
131
|
|
|
|
|
|
|
'KI' => q|kr|, |
132
|
|
|
|
|
|
|
'KM' => q|cn|, |
133
|
|
|
|
|
|
|
'KN' => q|sc|, |
134
|
|
|
|
|
|
|
'KP' => q|kn|, |
135
|
|
|
|
|
|
|
'KR' => q|ks|, |
136
|
|
|
|
|
|
|
'KW' => q|ku|, |
137
|
|
|
|
|
|
|
'KY' => q|cj|, |
138
|
|
|
|
|
|
|
'KZ' => q|kz|, |
139
|
|
|
|
|
|
|
'LA' => q|la|, |
140
|
|
|
|
|
|
|
'LB' => q|le|, |
141
|
|
|
|
|
|
|
'LC' => q|st|, |
142
|
|
|
|
|
|
|
'LI' => q|ls|, |
143
|
|
|
|
|
|
|
'LK' => q|ce|, |
144
|
|
|
|
|
|
|
'LR' => q|li|, |
145
|
|
|
|
|
|
|
'LS' => q|lt|, |
146
|
|
|
|
|
|
|
'LT' => q|lh|, |
147
|
|
|
|
|
|
|
'LU' => q|lu|, |
148
|
|
|
|
|
|
|
'LV' => q|lg|, |
149
|
|
|
|
|
|
|
'LY' => q|ly|, |
150
|
|
|
|
|
|
|
'MA' => q|mo|, |
151
|
|
|
|
|
|
|
'MC' => q|mn|, |
152
|
|
|
|
|
|
|
'MD' => q|md|, |
153
|
|
|
|
|
|
|
'MG' => q|ma|, |
154
|
|
|
|
|
|
|
'MH' => q|rm|, |
155
|
|
|
|
|
|
|
'MK' => q|mk|, |
156
|
|
|
|
|
|
|
'ML' => q|ml|, |
157
|
|
|
|
|
|
|
'MM' => q|bm|, |
158
|
|
|
|
|
|
|
'MN' => q|mg|, |
159
|
|
|
|
|
|
|
'MO' => q|mc|, |
160
|
|
|
|
|
|
|
'MP' => q|cq|, |
161
|
|
|
|
|
|
|
'MQ' => q|mb|, |
162
|
|
|
|
|
|
|
'MR' => q|mr|, |
163
|
|
|
|
|
|
|
'MS' => q|mh|, |
164
|
|
|
|
|
|
|
'MT' => q|mt|, |
165
|
|
|
|
|
|
|
'MU' => q|mp|, |
166
|
|
|
|
|
|
|
'MV' => q|mv|, |
167
|
|
|
|
|
|
|
'MW' => q|mi|, |
168
|
|
|
|
|
|
|
'MX' => q|mx|, |
169
|
|
|
|
|
|
|
'MY' => q|my|, |
170
|
|
|
|
|
|
|
'MZ' => q|mz|, |
171
|
|
|
|
|
|
|
'NA' => q|wa|, |
172
|
|
|
|
|
|
|
'NC' => q|nc|, |
173
|
|
|
|
|
|
|
'NE' => q|ng|, |
174
|
|
|
|
|
|
|
'NF' => q|nf|, |
175
|
|
|
|
|
|
|
'NG' => q|ni|, |
176
|
|
|
|
|
|
|
'NI' => q|nu|, |
177
|
|
|
|
|
|
|
'NL' => q|nl|, |
178
|
|
|
|
|
|
|
'NO' => q|no|, |
179
|
|
|
|
|
|
|
'NP' => q|np|, |
180
|
|
|
|
|
|
|
'NR' => q|nr|, |
181
|
|
|
|
|
|
|
'NU' => q|ne|, |
182
|
|
|
|
|
|
|
'NZ' => q|nz|, |
183
|
|
|
|
|
|
|
'OM' => q|mu|, |
184
|
|
|
|
|
|
|
'PA' => q|pm|, |
185
|
|
|
|
|
|
|
'PE' => q|pe|, |
186
|
|
|
|
|
|
|
'PF' => q|fp|, |
187
|
|
|
|
|
|
|
'PG' => q|pp|, |
188
|
|
|
|
|
|
|
'PH' => q|rp|, |
189
|
|
|
|
|
|
|
'PK' => q|pk|, |
190
|
|
|
|
|
|
|
'PL' => q|pl|, |
191
|
|
|
|
|
|
|
'PM' => q|sb|, |
192
|
|
|
|
|
|
|
'PN' => q|pc|, |
193
|
|
|
|
|
|
|
'PR' => q|rq|, |
194
|
|
|
|
|
|
|
'PS' => q|we|, |
195
|
|
|
|
|
|
|
'PT' => q|po|, |
196
|
|
|
|
|
|
|
'PW' => q|ps|, |
197
|
|
|
|
|
|
|
'PY' => q|pa|, |
198
|
|
|
|
|
|
|
'QA' => q|qa|, |
199
|
|
|
|
|
|
|
'RE' => q|re|, |
200
|
|
|
|
|
|
|
'RO' => q|ro|, |
201
|
|
|
|
|
|
|
'RU' => q|rs|, |
202
|
|
|
|
|
|
|
'RW' => q|rw|, |
203
|
|
|
|
|
|
|
'SA' => q|sa|, |
204
|
|
|
|
|
|
|
'SB' => q|bp|, |
205
|
|
|
|
|
|
|
'SC' => q|se|, |
206
|
|
|
|
|
|
|
'SD' => q|su|, |
207
|
|
|
|
|
|
|
'SE' => q|sw|, |
208
|
|
|
|
|
|
|
'SG' => q|sn|, |
209
|
|
|
|
|
|
|
'SH' => q|sh|, |
210
|
|
|
|
|
|
|
'SI' => q|si|, |
211
|
|
|
|
|
|
|
'SJ' => q|sv|, |
212
|
|
|
|
|
|
|
'SK' => q|lo|, |
213
|
|
|
|
|
|
|
'SL' => q|sl|, |
214
|
|
|
|
|
|
|
'SM' => q|sm|, |
215
|
|
|
|
|
|
|
'SN' => q|sg|, |
216
|
|
|
|
|
|
|
'SO' => q|so|, |
217
|
|
|
|
|
|
|
'SR' => q|ns|, |
218
|
|
|
|
|
|
|
'ST' => q|tp|, |
219
|
|
|
|
|
|
|
'SV' => q|es|, |
220
|
|
|
|
|
|
|
'SY' => q|sy|, |
221
|
|
|
|
|
|
|
'SZ' => q|wz|, |
222
|
|
|
|
|
|
|
'TC' => q|tk|, |
223
|
|
|
|
|
|
|
'TD' => q|cd|, |
224
|
|
|
|
|
|
|
'TF' => q|fs|, |
225
|
|
|
|
|
|
|
'TG' => q|to|, |
226
|
|
|
|
|
|
|
'TH' => q|th|, |
227
|
|
|
|
|
|
|
'TJ' => q|ti|, |
228
|
|
|
|
|
|
|
'TK' => q|tl|, |
229
|
|
|
|
|
|
|
'TL' => q|tt|, |
230
|
|
|
|
|
|
|
'TM' => q|tx|, |
231
|
|
|
|
|
|
|
'TN' => q|ts|, |
232
|
|
|
|
|
|
|
'TO' => q|tn|, |
233
|
|
|
|
|
|
|
'TR' => q|tu|, |
234
|
|
|
|
|
|
|
'TT' => q|td|, |
235
|
|
|
|
|
|
|
'TV' => q|tv|, |
236
|
|
|
|
|
|
|
'TW' => q|tw|, |
237
|
|
|
|
|
|
|
'TZ' => q|tz|, |
238
|
|
|
|
|
|
|
'UA' => q|up|, |
239
|
|
|
|
|
|
|
'UG' => q|ug|, |
240
|
|
|
|
|
|
|
'UM' => q|um|, |
241
|
|
|
|
|
|
|
'US' => q|us|, |
242
|
|
|
|
|
|
|
'UY' => q|uy|, |
243
|
|
|
|
|
|
|
'UZ' => q|uz|, |
244
|
|
|
|
|
|
|
'VA' => q|vt|, |
245
|
|
|
|
|
|
|
'VC' => q|vc|, |
246
|
|
|
|
|
|
|
'VE' => q|ve|, |
247
|
|
|
|
|
|
|
'VG' => q|vi|, |
248
|
|
|
|
|
|
|
'VI' => q|vq|, |
249
|
|
|
|
|
|
|
'VN' => q|vm|, |
250
|
|
|
|
|
|
|
'VU' => q|nh|, |
251
|
|
|
|
|
|
|
'WF' => q|wf|, |
252
|
|
|
|
|
|
|
'WS' => q|ws|, |
253
|
|
|
|
|
|
|
'YE' => q|ym|, |
254
|
|
|
|
|
|
|
'YT' => q|mf|, |
255
|
|
|
|
|
|
|
'ZA' => q|sf|, |
256
|
|
|
|
|
|
|
'ZM' => q|za|, |
257
|
|
|
|
|
|
|
'ZW' => q|zi|, |
258
|
|
|
|
|
|
|
}; |
259
|
|
|
|
|
|
|
|
260
|
|
|
|
|
|
|
sub AUTOLOAD { |
261
|
1
|
|
|
1
|
|
6
|
no strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
247
|
|
262
|
0
|
|
|
0
|
|
0
|
$AUTOLOAD =~ /[^:]+$/; |
263
|
0
|
|
|
|
|
0
|
value($&); |
264
|
|
|
|
|
|
|
} |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
sub new { |
267
|
0
|
|
|
0
|
1
|
0
|
my $proto = shift; |
268
|
0
|
|
0
|
|
|
0
|
my $class = ref $proto || $proto || __PACKAGE__; |
269
|
0
|
|
|
|
|
0
|
my $self = {}; |
270
|
0
|
|
|
|
|
0
|
bless $self, $class; |
271
|
|
|
|
|
|
|
} |
272
|
|
|
|
|
|
|
|
273
|
|
|
|
|
|
|
sub hashptr { |
274
|
0
|
|
|
0
|
1
|
0
|
my($proto,$class) = @_; |
275
|
0
|
0
|
|
|
|
0
|
$proto = $class if $class; |
276
|
0
|
|
0
|
|
|
0
|
$class = ref $proto || $proto; |
277
|
0
|
|
|
|
|
0
|
my $rv = {}; |
278
|
0
|
|
|
|
|
0
|
%$rv = %$I2C; |
279
|
0
|
|
|
|
|
0
|
bless $rv, $class; |
280
|
|
|
|
|
|
|
} |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
sub value { |
283
|
5
|
100
|
|
5
|
1
|
30
|
return (exists $I2C->{$_[0]}) ? $I2C->{$_[0]} : undef; |
284
|
|
|
|
|
|
|
} |
285
|
|
|
|
|
|
|
|
286
|
|
|
|
|
|
|
sub subref { |
287
|
1
|
|
|
1
|
1
|
3
|
return \&value; |
288
|
|
|
|
|
|
|
} |
289
|
|
|
|
|
|
|
|
290
|
|
|
|
|
|
|
1; |
291
|
|
|
|
|
|
|
__END__ |