| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Acme::MetaSyntactic::pokemon; |
|
2
|
1
|
|
|
1
|
|
122952
|
use strict; |
|
|
1
|
|
|
|
|
10
|
|
|
|
1
|
|
|
|
|
55
|
|
|
3
|
1
|
|
|
1
|
|
13
|
use Acme::MetaSyntactic::List; |
|
|
1
|
|
|
|
|
8
|
|
|
|
1
|
|
|
|
|
295
|
|
|
4
|
|
|
|
|
|
|
our @ISA = qw( Acme::MetaSyntactic::List ); |
|
5
|
|
|
|
|
|
|
our $VERSION = '1.009'; |
|
6
|
|
|
|
|
|
|
__PACKAGE__->init(); |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our %Remote = ( |
|
9
|
|
|
|
|
|
|
source => |
|
10
|
|
|
|
|
|
|
'http://en.wikipedia.org/wiki/List_of_Pok%C3%A9mon', |
|
11
|
|
|
|
|
|
|
extract => sub { |
|
12
|
|
|
|
|
|
|
my %by_idx = |
|
13
|
|
|
|
|
|
|
$_[0] =~ m!^ | ]*>([0-9]{3}) | \n]*>]*title="[^>]+">([^<]+)!gm; |
|
14
|
|
|
|
|
|
|
return # support for Unicode female/male symbols |
|
15
|
|
|
|
|
|
|
map { tr/-'.: /_/s; s/_$//; $_ } |
|
16
|
|
|
|
|
|
|
map { Acme::MetaSyntactic::RemoteList::tr_accent($_) } |
|
17
|
|
|
|
|
|
|
map { Acme::MetaSyntactic::RemoteList::tr_utf8_basic($_) } |
|
18
|
|
|
|
|
|
|
map { s/Nidoran/Nidoran /; $_ } |
|
19
|
|
|
|
|
|
|
map $by_idx{$_}, sort keys %by_idx; |
|
20
|
|
|
|
|
|
|
}, |
|
21
|
|
|
|
|
|
|
); |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
1; |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=encoding iso-8859-1 |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 NAME |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Acme::MetaSyntactic::pokemon - The Pokémon theme |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
List of the 802 Pokémon characters that are officially known to exist |
|
34
|
|
|
|
|
|
|
in the franchise. |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
This list is based on the following wikipedia article: |
|
37
|
|
|
|
|
|
|
L. |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 CONTRIBUTORS |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Abigail, Philippe Bruhat (BooK) |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 CHANGES |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=over 4 |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=item * |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
2017-11-13 - v1.009 |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Fixed the regular expression used to extract the pokemon names from Wikipedia |
|
52
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.051. |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
2017-06-12 - v1.008 |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Updated with "Pokémon Generation VII" |
|
59
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.050. |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item * |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
2016-03-21 - v1.007 |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Updated with "The Mythical Pokémons" Volcanion and Magearna |
|
66
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.049. |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
2015-02-02 - v1.006 |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Updated with "The Mythical Pokémon Hoopa" |
|
73
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.045. |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
2014-06-16 - v1.005 |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Fixed the transformation script to properly deal with accented letters, |
|
80
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.040. |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=item * |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
2014-04-07 - v1.004 |
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
Updated with "The Mythical Pokémon Diancie" |
|
87
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.039. |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=item * |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
2013-12-09 - v1.003 |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
Updated with the Pokémon introduced with the release of Pokémon X and Y |
|
94
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.038. |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=item * |
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
2012-07-23 - v1.002 |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Updated with a new Pokémon |
|
101
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.011. |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=item * |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
2012-05-14 - v1.001 |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Updated with typographical corrections by Abigail |
|
108
|
|
|
|
|
|
|
in Acme-MetaSyntactic-Themes version 1.001. |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=item * |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
2012-05-07 - v1.000 |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Updated with new extraction code and new Pokémons since November 2006, and |
|
115
|
|
|
|
|
|
|
received its own version number in Acme-MetaSyntactic-Themes version 1.000. |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=item * |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
2006-11-06 |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
Updated in Acme-MetaSyntactic version 0.99. |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=item * |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
2006-07-10 |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
Updated in Acme-MetaSyntactic version 0.82. |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=item * |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
2006-03-06 |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Updated in Acme-MetaSyntactic version 0.64. |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=item * |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
2006-01-30 |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Updated in Acme-MetaSyntactic version 0.59. |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=item * |
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
2006-01-16 |
|
144
|
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
Updated in Acme-MetaSyntactic version 0.57. |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=item * |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
2006-01-09 |
|
150
|
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Introduced in Acme-MetaSyntactic version 0.56, with a remote list. |
|
152
|
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
=item * |
|
154
|
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
2005-10-26 |
|
156
|
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Submitted by Agigail as a simple list. |
|
158
|
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
=back |
|
160
|
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
162
|
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
L, L. |
|
164
|
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=cut |
|
166
|
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
__DATA__ |