| 1 | package Locale::Currency; | ||
| 2 | # Copyright (C) 2001 Canon Research Centre Europe (CRE). | ||
| 3 | # Copyright (C) 2002-2009 Neil Bowers | ||
| 4 | # Copyright (c) 2010-2026 Sullivan Beck | ||
| 5 | # This program is free software; you can redistribute it and/or modify it | ||
| 6 | # under the same terms as Perl itself. | ||
| 7 | |||
| 8 | # This file was automatically generated. Any changes to this file will | ||
| 9 | # be lost the next time 'gen_mods' is run. | ||
| 10 | # Generated on: Tue Sep 1 12:13:46 EDT 2026 | ||
| 11 | |||
| 12 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 1 | require 5.006; | |
| 15 | 1 | ▶ | use Exporter qw(import); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 1 | our($VERSION,@EXPORT); | |
| 18 | 1 | $VERSION = '3.91'; | |
| 19 | |||
| 20 | ################################################################################ | ||
| 21 | 1 | ▶ | use if $] >= 5.027007, 'deprecate'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 1 | ▶ | use Locale::Codes; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 1 | ▶ | use Locale::Codes::Constants; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | |||
| 25 | 1 | @EXPORT = qw( | |
| 26 | code2currency | ||
| 27 | code2currencys | ||
| 28 | currency2code | ||
| 29 | all_currency_codes | ||
| 30 | all_currency_names | ||
| 31 | currency_code2code | ||
| 32 | ); | ||
| 33 | 1 | push(@EXPORT,@Locale::Codes::Constants::CONSTANTS_CURRENCY); | |
| 34 | |||
| 35 | 1 | our $obj = new Locale::Codes('currency'); | |
| 36 | 1 | $obj->show_errors(0); | |
| 37 | |||
| 38 | 1 | ▶ | sub show_errors { |
|
Subroutine
show_errors: called CC=1 SCAR=0.0
Pod
documented
| |||
| 39 | 1 | my($val) = @_; | |
| 40 | 1 | $obj->show_errors($val); | |
| 41 | } | ||
| 42 | |||
| 43 | 15 | ▶ | sub code2currency { |
|
Subroutine
code2currency: called CC=1 SCAR=0.0
Pod
documented
| |||
| 44 | 15 | return $obj->code2name(@_); | |
| 45 | } | ||
| 46 | |||
| 47 | 0 | ▶ | sub code2currencys { |
|
Subroutine
code2currencys: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 48 | 0 | return $obj->code2names(@_); | |
| 49 | } | ||
| 50 | |||
| 51 | 4 | ▶ | sub currency2code { |
|
Subroutine
currency2code: called CC=1 SCAR=0.0
Pod
documented
| |||
| 52 | 4 | return $obj->name2code(@_); | |
| 53 | } | ||
| 54 | |||
| 55 | 1 | ▶ | sub currency_code2code { |
|
Subroutine
currency_code2code: called CC=1 SCAR=0.0
Pod
documented
| |||
| 56 | 1 | return $obj->code2code(@_); | |
| 57 | } | ||
| 58 | |||
| 59 | 1 | ▶ | sub all_currency_codes { |
|
Subroutine
all_currency_codes: called CC=1 SCAR=0.0
Pod
documented
| |||
| 60 | 1 | return $obj->all_codes(@_); | |
| 61 | } | ||
| 62 | |||
| 63 | 1 | ▶ | sub all_currency_names { |
|
Subroutine
all_currency_names: called CC=1 SCAR=0.0
Pod
documented
| |||
| 64 | 1 | return $obj->all_names(@_); | |
| 65 | } | ||
| 66 | |||
| 67 | 1 | ▶ | sub rename_currency { |
|
Subroutine
rename_currency: called CC=1 SCAR=0.0
Pod
documented
| |||
| 68 | 1 | return $obj->rename_code(@_); | |
| 69 | } | ||
| 70 | |||
| 71 | 1 | ▶ | sub add_currency { |
|
Subroutine
add_currency: called CC=1 SCAR=0.0
Pod
documented
| |||
| 72 | 1 | return $obj->add_code(@_); | |
| 73 | } | ||
| 74 | |||
| 75 | 1 | ▶ | sub delete_currency { |
|
Subroutine
delete_currency: called CC=1 SCAR=0.0
Pod
documented
| |||
| 76 | 1 | return $obj->delete_code(@_); | |
| 77 | } | ||
| 78 | |||
| 79 | 1 | ▶ | sub add_currency_alias { |
|
Subroutine
add_currency_alias: called CC=1 SCAR=0.0
Pod
documented
| |||
| 80 | 1 | return $obj->add_alias(@_); | |
| 81 | } | ||
| 82 | |||
| 83 | 1 | ▶ | sub delete_currency_alias { |
|
Subroutine
delete_currency_alias: called CC=1 SCAR=0.0
Pod
documented
| |||
| 84 | 1 | return $obj->delete_alias(@_); | |
| 85 | } | ||
| 86 | |||
| 87 | 1 | ▶ | sub rename_currency_code { |
|
Subroutine
rename_currency_code: called CC=1 SCAR=0.0
Pod
documented
| |||
| 88 | 1 | return $obj->replace_code(@_); | |
| 89 | } | ||
| 90 | |||
| 91 | 1 | ▶ | sub add_currency_code_alias { |
|
Subroutine
add_currency_code_alias: called CC=1 SCAR=0.0
Pod
documented
| |||
| 92 | 1 | return $obj->add_code_alias(@_); | |
| 93 | } | ||
| 94 | |||
| 95 | 1 | ▶ | sub delete_currency_code_alias { |
|
Subroutine
delete_currency_code_alias: called CC=1 SCAR=0.0
Pod
documented
| |||
| 96 | 1 | return $obj->delete_code_alias(@_); | |
| 97 | } | ||
| 98 | |||
| 99 | 1 | 1; | |