line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::MetaSyntactic::tld; |
2
|
1
|
|
|
1
|
|
109769
|
use strict; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
45
|
|
3
|
1
|
|
|
1
|
|
15
|
use Acme::MetaSyntactic::MultiList; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
218
|
|
4
|
|
|
|
|
|
|
our @ISA = qw( Acme::MetaSyntactic::MultiList ); |
5
|
|
|
|
|
|
|
our $VERSION = '1.011'; |
6
|
|
|
|
|
|
|
__PACKAGE__->init(); |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our %Remote = ( |
9
|
|
|
|
|
|
|
source => 'http://www.iana.org/domains/root/db/', |
10
|
|
|
|
|
|
|
extract => sub { |
11
|
|
|
|
|
|
|
( my $type = $_[1]) =~ y/_/-/; |
12
|
|
|
|
|
|
|
local $/; |
13
|
|
|
|
|
|
|
my %type = $_[0] =~ m{ | \s*.\w+ | \s+([^<]+) | }g;
14
|
|
|
|
|
|
|
return grep $type{$_} eq $type, keys %type; |
15
|
|
|
|
|
|
|
}, |
16
|
|
|
|
|
|
|
); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Acme::MetaSyntactic::tld - The Top-Level Domain theme |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
The list of top-level domainnames. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
The source for the list is |
29
|
|
|
|
|
|
|
L. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Note that this list contains only the ASCII top-level domains, and not the |
32
|
|
|
|
|
|
|
internationalized ones. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 CONTRIBUTORS |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Scott Lanning, Philippe Bruhat (BooK). |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 CHANGES |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=over 4 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=item * |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
2019-10-28 - v1.011 |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Updated from the source web site in Acme-MetaSyntactic-Themes version 1.054. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
2019-07-29 - v1.010 |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
2015-08-10 - v1.009 |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Updated from the source web site in Acme-MetaSyntactic-Themes version 1.047. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item * |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
2015-06-08 - v1.008 |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Updated from the source web site in Acme-MetaSyntactic-Themes version 1.046. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
2015-02-02 - v1.007 |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Updated from the source web site in Acme-MetaSyntactic-Themes version 1.045. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
2015-01-05 - v1.006 |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Updated from the source web site in Acme-MetaSyntactic-Themes version 1.044. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=item * |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
2014-10-13 - v1.005 |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Updated from the source web site in Acme-MetaSyntactic-Themes version 1.043. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=item * |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
2014-09-15 - v1.004 |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Updated from the source web site in Acme-MetaSyntactic-Themes version 1.042. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=item * |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
2014-08-18 - v1.003 |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Addition of 338 (!) generic top-level domain names |
95
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.041. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=item * |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
2012-08-27 - v1.002 |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
Addition of the C<.post> top-level domain |
102
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.016. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=item * |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
2012-07-31 - v1.001 |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
Updated the source URL, and updated the data from the source web site |
109
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.012 (published one day late). |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=item * |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
2012-05-07 - v1.000 |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
Made updatable, and |
116
|
|
|
|
|
|
|
received its own version number in Acme-MetaSyntactic-Themes version 1.000. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=item * |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
2005-01-24 |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Introduced in Acme-MetaSyntactic version 0.06. |
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=item * |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
Idea by Scott Lanning (who suggested ISO 3166 country codes). |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=back |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head1 SEE ALSO |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
L, L. |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=cut |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
__DATA__ |