line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Acme::MetaSyntactic::currency; |
2
|
1
|
|
|
1
|
|
77710
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
31
|
|
3
|
1
|
|
|
1
|
|
5
|
use Acme::MetaSyntactic::MultiList; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
125
|
|
4
|
|
|
|
|
|
|
our @ISA = qw( Acme::MetaSyntactic::MultiList ); |
5
|
|
|
|
|
|
|
our $VERSION = '1.005'; |
6
|
|
|
|
|
|
|
__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
|
|
|
|
|
|
|
extract => sub { $_[0] =~ m{(\S+)}mig }, |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
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. |
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, L. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
__DATA__ |