Locale::Constants - constants for Locale codes
use Locale::Constants; $codeset = LOCALE_CODE_ALPHA_2;
Locale::Constants defines symbols which are used in the three modules from the Locale-Codes distribution:
Locale::Language Locale::Country Locale::Currency
Note: at the moment only Locale::Country supports more than one code set.
The symbols defined are used to specify which codes you want to be used:
LOCALE_CODE_ALPHA_2 LOCALE_CODE_ALPHA_3 LOCALE_CODE_NUMERIC
You shouldn't have to use this module directly yourself - it is used by the three Locale modules, which in turn export the symbols.
use
None at the moment.
Codes for identification of languages.
Codes for identification of countries.
Codes for identification of currencies and funds.
Neil Bowers <neilb@cre.canon.co.uk>
Copyright (C) 2001, Canon Research Centre Europe (CRE).
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Locale::Country, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Locale::Country
CPAN shell
perl -MCPAN -e shell install Locale::Country
For more information on module installation, please visit the detailed CPAN module installation guide.