blib/lib/Acme/MetaSyntactic/tokipona.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 81.2% 13 / 16 CC 1 SCAR 2.9
CC
1
Cov
85%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Acme/MetaSyntactic/tmnt.pm ↑ Summary blib/lib/Acme/MetaSyntactic/currency.pm »
1 package Acme::MetaSyntactic::tokipona;
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.001';
6 2 __PACKAGE__->init();
7  
8 our %Remote = (
9 source => 'http://tokipona.net/tp/ClassicWordList.aspx',
10 0 ▶ extract => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
11 0 map { split /, / }
12 $_[0] =~ m{<a name="(\w+)">}mg;
13 },
14 2 );
15  
16 2 1;
17  
18 =head1 NAME
19  
20 Acme::MetaSyntactic::tokipona - Words from the Toki Pona language
21  
22 =head1 DESCRIPTION
23  
24 Toki Pona is a constructed language, with little more than a hundred words.
25 This theme has them all.
26  
27 See L<http://www.tokipona.org/>.
28  
29 =head1 CONTRIBUTORS
30  
31 Abigail, Philippe Bruhat (BooK)
32  
33 =head1 CHANGES
34  
35 =over 4
36  
37 =item *
38  
39 2014-08-18 - v1.001
40  
41 Picked a new link (still from the official web site) from which to
42 get the official word list, and updated from the source web site
43 in Acme-MetaSyntactic-Themes version 1.041.
44  
45 =item *
46  
47 2012-08-20 - v1.000
48  
49 Updated from remote site, and
50 published in Acme-MetaSyntactic-Themes 1.015.
51  
52 =item *
53  
54 2012-06-26
55  
56 Added a remote list (from the official web site).
57  
58 =item *
59  
60 2005-11-19
61  
62 Submitted by Abigail.
63  
64 =back
65  
66 =head1 SEE ALSO
67  
68 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
69  
70 =cut
71  
72 __DATA__
« blib/lib/Acme/MetaSyntactic/tmnt.pm ↑ Summary blib/lib/Acme/MetaSyntactic/currency.pm »