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