1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
package Locale::Codes::Currency;
# Copyright (C) 2001 Canon Research Centre Europe (CRE).
# Copyright (C) 2002-2009 Neil Bowers
# Copyright (c) 2010-2013 Sullivan Beck
# This program is free software; you can redistribute it and/or modify it
# under the same terms as Perl itself.
use strict;
require 5.006;
use warnings;
require Exporter;
use Carp;
use Locale::Codes;
use Locale::Codes::Constants;
use Locale::Codes::Currency_Codes;
use Locale::Codes::Currency_Retired;
#=======================================================================
# Public Global Variables
#=======================================================================
our($VERSION,@ISA,@EXPORT,@EXPORT_OK);
$VERSION='3.25';
@ISA = qw(Exporter);
@EXPORT = qw(code2currency
currency2code
all_currency_codes
all_currency_names
currency_code2code
LOCALE_CURR_ALPHA
LOCALE_CURR_NUMERIC
);
sub code2currency {
return Locale::Codes::_code2name('currency',@_);
}
sub currency2code {
return Locale::Codes::_name2code('currency',@_);
}
sub currency_code2code {
return Locale::Codes::_code2code('currency',@_);
}
sub all_currency_codes {
return Locale::Codes::_all_codes('currency',@_);
}
sub all_currency_names {
return Locale::Codes::_all_names('currency',@_);
}
sub rename_currency {
return Locale::Codes::_rename('currency',@_);
}
sub add_currency {
return Locale::Codes::_add_code('currency',@_);
}
sub delete_currency {
return Locale::Codes::_delete_code('currency',@_);
}
sub add_currency_alias {
return Locale::Codes::_add_alias('currency',@_);
}
sub delete_currency_alias {
return Locale::Codes::_delete_alias('currency',@_);
}
sub rename_currency_code {
return Locale::Codes::_rename_code('currency',@_);
}
sub add_currency_code_alias {
return Locale::Codes::_add_code_alias('currency',@_);
}
sub delete_currency_code_alias {
return Locale::Codes::_delete_code_alias('currency',@_);
}
1;
# Local Variables:
# mode: cperl
# indent-tabs-mode: nil
# cperl-indent-level: 3
# cperl-continued-statement-offset: 2
# cperl-continued-brace-offset: 0
# cperl-brace-offset: 0
# cperl-brace-imaginary-offset: 0
# cperl-label-offset: -2
# End:
|