File Coverage

blib/lib/Acme/MetaSyntactic/tld.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


\s+}g;
line stmt bran cond sub pod time code
1             package Acme::MetaSyntactic::tld;
2 1     1   117999 use strict;
  1         12  
  1         53  
3 1     1   12 use Acme::MetaSyntactic::MultiList;
  1         7  
  1         253  
4             our @ISA = qw( Acme::MetaSyntactic::MultiList );
5             our $VERSION = '1.012';
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+([^<]+)
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             2021-04-30 - v1.012
45              
46             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.055.
47              
48             =item *
49              
50             2019-10-28 - v1.011
51              
52             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.054.
53              
54             =item *
55              
56             2019-07-29 - v1.010
57              
58             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053.
59              
60             =item *
61              
62             2015-08-10 - v1.009
63              
64             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.047.
65              
66             =item *
67              
68             2015-06-08 - v1.008
69              
70             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.046.
71              
72             =item *
73              
74             2015-02-02 - v1.007
75              
76             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.045.
77              
78             =item *
79              
80             2015-01-05 - v1.006
81              
82             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.044.
83              
84             =item *
85              
86             2014-10-13 - v1.005
87              
88             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.043.
89              
90             =item *
91              
92             2014-09-15 - v1.004
93              
94             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.042.
95              
96             =item *
97              
98             2014-08-18 - v1.003
99              
100             Addition of 338 (!) generic top-level domain names
101             in Acme-MetaSyntactic-Themes version 1.041.
102              
103             =item *
104              
105             2012-08-27 - v1.002
106              
107             Addition of the C<.post> top-level domain
108             in Acme-MetaSyntactic-Themes version 1.016.
109              
110             =item *
111              
112             2012-07-31 - v1.001
113              
114             Updated the source URL, and updated the data from the source web site
115             in Acme-MetaSyntactic-Themes version 1.012 (published one day late).
116              
117             =item *
118              
119             2012-05-07 - v1.000
120              
121             Made updatable, and
122             received its own version number in Acme-MetaSyntactic-Themes version 1.000.
123              
124             =item *
125              
126             2005-01-24
127              
128             Introduced in Acme-MetaSyntactic version 0.06.
129              
130             =item *
131              
132             Idea by Scott Lanning (who suggested ISO 3166 country codes).
133              
134             =back
135              
136             =head1 SEE ALSO
137              
138             L, L.
139              
140             =cut
141              
142             __DATA__