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.006';
6 2 __PACKAGE__->init();
7  
8 our %Remote = (
9 source => {
10 current => 'https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml',
11 historic => 'https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-three.xml',
12 },
13 0 ▶ extract => sub { $_[0] =~ m{<Ccy>(\S+)</Ccy>}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 2026-01-12 - v1.006
39  
40 Updated the source URL, and
41 published in Acme-MetaSyntactic-Themes version 1.056.
42  
43 =item *
44  
45 2015-08-10 - v1.005
46  
47 Updated the source URL, and
48 published in Acme-MetaSyntactic-Themes version 1.047.
49  
50 =item *
51  
52 2013-07-22 - v1.004
53  
54 Updated the source URL, and
55 published in Acme-MetaSyntactic-Themes version 1.034.
56  
57 =item *
58  
59 2013-01-14 - v1.003
60  
61 Updated the source URL, and
62 updated from the source web site in Acme-MetaSyntactic-Themes version 1.029.
63  
64 =item *
65  
66 2012-10-29 - v1.002
67  
68 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.025.
69  
70 =item *
71  
72 2012-09-10 - v1.001
73  
74 Updated from the source web site in Acme-MetaSyntactic-Themes version 1.018.
75  
76 =item *
77  
78 2012-05-07 - v1.000
79  
80 Updated with historical (withdrawn) currencies, made updatable, and
81 received its own version number in Acme-MetaSyntactic-Themes version 1.000.
82  
83 =item *
84  
85 2005-08-23
86  
87 Introduced in Acme-MetaSyntactic version 0.36, published (one day late).
88  
89 =back
90  
91 =head1 SEE ALSO
92  
93 L<Acme::MetaSyntactic>, L<Acme::MetaSyntactic::List>.
94  
95 =cut
96  
97 __DATA__
« blib/lib/Acme/MetaSyntactic/tokipona.pm ↑ Summary blib/lib/Acme/MetaSyntactic/iata.pm »