Locale::Codes::Currency(3perl) | Perl Programmers Reference Guide | Locale::Codes::Currency(3perl) |
Locale::Codes::Currency - module for dealing with currency code sets
use Locale::Codes::Currency; $name = code2currency(CODE); $code = currency2code(NAME); @codes = all_currency_codes(); @names = all_currency_names();
This module provides access to currency code sets.
Please refer to the Locale::Codes::Types document for a description of the code sets available.
Most of the routines take an optional additional argument which specifies the code set to use. The code set can be specified using the name of a code set, or the perl constant specified in the above document. If not specified, the default code set will be used.
All routines in this module call the appropriate method in the Locale::Codes module, using an object of type: currency Please refer to the documentation of the Locale::Codes module for details about each function.
The following functions are exported automatically:
The following functions are not exported and must be called fully qualified with the package name:
See show_errors in Locale::Codes but note that the default for the non-OO modules are to NOT produce errors.
See Locale::Codes for full author history.
Currently maintained by Sullivan Beck (sbeck@cpan.org).
Copyright (c) 2011-2018 Sullivan Beck
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2020-07-21 | perl v5.28.1 |