blib/lib/Acme/MetaSyntactic/linux.pm

filter: Statementstmt 44.0% 11 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 46.4% 13 / 28 CC 1 SCAR 2.9
CC
1
Cov
44%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Acme/MetaSyntactic/viclones.pm ↑ Summary blib/lib/Acme/MetaSyntactic/simpsons.pm »
1 package Acme::MetaSyntactic::linux;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use Acme::MetaSyntactic::List;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 our @ISA = qw( Acme::MetaSyntactic::List );
5 2 our $VERSION = '1.035';
6  
7 our %Remote = (
8 source => 'http://distrowatch.com/',
9 extract => sub {
10 0 ▶ my @forms = $_[0] =~ m{<select [^>]+>(.*?)</select>}gs;
Subroutine __ANON__: not called CC=1 SCAR=6.9
11 return
12 map {
13 0 s/\@/_at_/g; s/\+/_plus_/g;
14 0 s/^0/Zero/; s/^2/Two/; s/^3/Three/; s/^4/Four/;
15 0 s/^_|_$//g; s/_+/_/g;
16 0 $_
17 }
18 0 map { Acme::MetaSyntactic::RemoteList::tr_nonword($_) }
19 0 map { Acme::MetaSyntactic::RemoteList::tr_accent($_) }
20 0 map { Acme::MetaSyntactic::RemoteList::tr_utf8_basic($_) }
21 $forms[0] =~ m!<option value=".*?">([^<]+?)</option>!g;
22 }
23 2 );
24  
25 2 __PACKAGE__->init();
26  
27 2 1;
28  
29 =head1 NAME
30  
31 Acme::MetaSyntactic::linux - The Linux theme
32  
33 =head1 DESCRIPTION
34  
35 This theme contains the lists all the known and less
36 known Linux distributions, as maintained by DistroWatch on
37 L<http://distrowatch.com/stats.php>.
38  
39 Note that the distribution list also contains the *BSD projects.
40  
41 =head1 CONTRIBUTOR
42  
43 Philippe Bruhat (BooK).
44  
45 =head1 CHANGES
46  
47 =over 4
48  
49 =item *
50  
51 2019-10-28 - v1.035
52  
53 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.054.
54  
55 =item *
56  
57 2019-07-29 - v1.034
58  
59 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053.
60  
61 =item *
62  
63 2018-10-29 - v1.033
64  
65 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.052.
66  
67 =item *
68  
69 2017-11-13 - v1.032
70  
71 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.051.
72  
73 =item *
74  
75 2017-06-12 - v1.031
76  
77 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.050.
78  
79 =item *
80  
81 2016-03-21 - v1.030
82  
83 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.049.
84  
85 =item *
86  
87 2015-10-19 - v1.029
88  
89 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.048.
90  
91 =item *
92  
93 2015-08-10 - v1.028
94  
95 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.047.
96  
97 =item *
98  
99 2015-06-08 - v1.027
100  
101 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.046.
102  
103 =item *
104  
105 2015-02-02 - v1.026
106  
107 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.045.
108  
109 =item *
110  
111 2015-01-05 - v1.025
112  
113 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.044.
114  
115 =item *
116  
117 2014-10-13 - v1.024
118  
119 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.043.
120  
121 =item *
122  
123 2014-09-15 - v1.023
124  
125 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.042.
126  
127 =item *
128  
129 2014-08-18 - v1.022
130  
131 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.041.
132  
133 =item *
134  
135 2014-06-16 - v1.021
136  
137 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.040.
138  
139 =item *
140  
141 2014-04-07 - v1.020
142  
143 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.039.
144  
145 =item *
146  
147 2013-12-09 - v1.019
148  
149 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.038.
150  
151 =item *
152  
153 2013-10-14 - v1.018
154  
155 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.037.
156  
157 =item *
158  
159 2013-09-16 - v1.017
160  
161 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.036.
162  
163 =item *
164  
165 2013-07-29 - v1.016
166  
167 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.035.
168  
169 =item *
170  
171 2013-07-22 - v1.015
172  
173 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.034.
174  
175 =item *
176  
177 2013-06-17 - v1.014
178  
179 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.033.
180  
181 =item *
182  
183 2013-06-03 - v1.013
184  
185 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.032.
186  
187 =item *
188  
189 2013-03-25 - v1.012
190  
191 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.031.
192  
193 =item *
194  
195 2013-02-18 - v1.011
196  
197 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.030.
198  
199 =item *
200  
201 2013-01-14 - v1.010
202  
203 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.029.
204  
205 =item *
206  
207 2012-11-19 - v1.009
208  
209 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.028.
210  
211 =item *
212  
213 2012-10-29 - v1.008
214  
215 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.025.
216  
217 =item *
218  
219 2012-10-22 - v1.007
220  
221 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.024.
222  
223 =item *
224  
225 2012-10-01 - v1.006
226  
227 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.021.
228  
229 =item *
230  
231 2012-09-10 - v1.005
232  
233 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.018.
234  
235 =item *
236  
237 2012-08-27 - v1.004
238  
239 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.016.
240  
241 =item *
242  
243 2012-07-23 - v1.003
244  
245 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.011.
246  
247 =item *
248  
249 2012-06-25 - v1.002
250  
251 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.007.
252  
253 =item *
254  
255 2012-05-28 - v1.001
256  
257 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.003.
258  
259 =item *
260  
261 2012-05-07 - v1.000
262  
263 Updated with new extraction code and changes since November 2006, and
264 received its own version number in Acme-MetaSyntactic-Themes version 1.000.
265  
266 =item *
267  
268 2006-11-06
269  
270 Updated from the source web site in Acme-MetaSyntactic version 0.99.
271  
272 =item *
273  
274 2006-10-30
275  
276 Updated from the source web site in Acme-MetaSyntactic version 0.98.
277  
278 =item *
279  
280 2006-10-23
281  
282 Updated from the source web site in Acme-MetaSyntactic version 0.97.
283  
284 =item *
285  
286 2006-10-09
287  
288 Introduced in Acme-MetaSyntactic version 0.95.
289  
290 =back
291  
292 =head1 DEDICATION
293  
294 This module is dedicated to the Linux kernel for its fifteenth
295 anniversary. Linux was first published on the C<comp.archives> newsgroup
296 on October 5, 1991.
297 See L<http://groups.google.com/group/comp.archives/msg/13a145b453f89094>
298  
299 Linux was announced on C<comp.os.minix> on August 25, 1991.
300 See L<http://groups.google.com/group/comp.os.minix/msg/b813d52cbc5a044b>
301  
302 =head1 SEE ALSO
303  
304 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
305  
306 =cut
307  
308 __DATA__
« blib/lib/Acme/MetaSyntactic/viclones.pm ↑ Summary blib/lib/Acme/MetaSyntactic/simpsons.pm »