File Coverage

blib/lib/Acme/MetaSyntactic/simpsons.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


line stmt bran cond sub pod time code
1             package Acme::MetaSyntactic::simpsons;
2 1     1   108750 use strict;
  1         10  
  1         54  
3 1     1   12 use Acme::MetaSyntactic::List;
  1         13  
  1         365  
4             our @ISA = qw( Acme::MetaSyntactic::List );
5             our $VERSION = '1.002';
6             __PACKAGE__->init();
7              
8             our %Remote = (
9             source => 'https://simpsons.fandom.com/wiki/Portal:All_Simpson_Characters',
10             extract => sub {
11             my $i = 1;
12             return
13             grep !/^(?:The_Simpsons|Simpson_family)$/, map {
14             s/%26/and/g;
15             s/%27//g;
16             s/%C3%9C/U/g;
17             s/%C3%A9/e/g;
18             s/%C3%B6/o/g;
19             s/%C3%BC/u/g;
20             s/5th/Fifth/g;
21             s/4/Four/g;
22             y/-().,/_/d;
23             $_;
24             }
25             grep $i++ % 2,
26             $_[0] =~ m{\2}g;
27             }
28             );
29              
30             1;
31              
32             =head1 NAME
33              
34             Acme::MetaSyntactic::simpsons - The Simpsons theme
35              
36             =head1 DESCRIPTION
37              
38             Characters from the Simpsons serial.
39              
40             =head1 CONTRIBUTOR
41              
42             Philippe "BooK" Bruhat.
43              
44             =head1 CHANGES
45              
46             =over 4
47              
48             =item *
49              
50             2021-04-30 - v1.002
51              
52             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.055.
53              
54             =item *
55              
56             2019-07-29 - v1.001
57              
58             New data source: L.
59             Updated from the source web site in Acme-MetaSyntactic-Themes version 1.053.
60              
61             =item *
62              
63             2012-05-07 - v1.000
64              
65             Received its own version number in Acme-MetaSyntactic-Themes version 1.000.
66              
67             =item *
68              
69             2006-07-24
70              
71             Made updatable with L
72             (link provided on January 16, 2005 by Matthew Musgrove)
73             in Acme-MetaSyntactic version 0.84.
74              
75             =item *
76              
77             2005-06-13
78              
79             Re-introduced in Acme-MetaSyntactic version 0.26.
80              
81             =item *
82              
83             2005-03-06
84              
85             Disappeared in Acme-MetaSyntactic version 0.12.
86              
87             =item *
88              
89             2005-01-15
90              
91             Introduced in Acme-MetaSyntactic version 0.04, published on January 15, 2005.
92              
93             =back
94              
95             =head1 SEE ALSO
96              
97             L, L.
98              
99             =cut
100              
101             __DATA__