blib/lib/Acme/MetaSyntactic/currency.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 86.6% 13 / 15 CC 1 SCAR 2.9
CC
1
Cov
92%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Acme/MetaSyntactic/tokipona.pm ↑ Summary blib/lib/Acme/MetaSyntactic/iata.pm »
1 package Acme::MetaSyntactic::currency;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use Acme::MetaSyntactic::MultiList;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 our @ISA = qw( Acme::MetaSyntactic::MultiList );
5 2 our $VERSION = '1.005';
6 2 __PACKAGE__->init();
7  
8 our %Remote = (
9 source => {
10 current => 'http://www.currency-iso.org/dam/downloads/lists/list_one.xml',
11 historic => 'http://www.currency-iso.org/dam/downloads/lists/list_three.xml',
12 },
13 0 ▶ extract => sub { $_[0] =~ m{<ALPHABETIC_CODE>(\S+)</ALPHABETIC_CODE>}mig },
Subroutine __ANON__: not called CC=1 SCAR=6.9
14 2 );
15  
16 2 1;
17  
18 =head1 NAME
19  
20 Acme::MetaSyntactic::currency - The currency theme
21  
22 =head1 DESCRIPTION
23  
24 The official three-letter currency codes, as defined by ISO 4217.
25  
26 The list was taken from the ISO web site: L<http://www.iso.org/>.
27  
28 =head1 CONTRIBUTOR
29  
30 Philippe "BooK" Bruhat.
31  
32 =head1 CHANGES
33  
34 =over 4
35  
36 =item *
37  
38 2015-08-10 - v1.005
39  
40 Updated the source URL, and
41 published in Acme-MetaSyntactic-Themes version 1.047.
42  
43 =item *
44  
45 2013-07-22 - v1.004
46  
47 Updated the source URL, and
48 published in Acme-MetaSyntactic-Themes version 1.034.
49  
50 =item *
51  
52 2013-01-14 - v1.003
53  
54 Updated the source URL, and
55 updated from the source web site in Acme-MetaSyntactic-Themes version 1.029.
56  
57 =item *
58  
59 2012-10-29 - v1.002
60  
61 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.025.
62  
63 =item *
64  
65 2012-09-10 - v1.001
66  
67 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.018.
68  
69 =item *
70  
71 2012-05-07 - v1.000
72  
73 Updated with historical (withdrawn) currencies, made updatable, and
74 received its own version number in Acme-MetaSyntactic-Themes version 1.000.
75  
76 =item *
77  
78 2005-08-23
79  
80 Introduced in Acme-MetaSyntactic version 0.36, published (one day late).
81  
82 =back
83  
84 =head1 SEE ALSO
85  
86 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
87  
88 =cut
89  
90 __DATA__
« blib/lib/Acme/MetaSyntactic/tokipona.pm ↑ Summary blib/lib/Acme/MetaSyntactic/iata.pm »