- use Locale::Constants;
- $codeset = LOCALE_CODE_ALPHA_2;
Locale::Constants defines symbols which are used in the four modules from the Locale-Codes distribution:
Note: at the moment only Locale::Country and Locale::Script support more than one code set.
The symbols defined are used to specify which codes you want to be used:
You shouldn't have to
use this module directly yourself -
it is used by the three Locale modules, which in turn export
None at the moment.
Codes for identification of languages.
Codes for identification of countries.
Codes for identification of scripts.
Codes for identification of currencies and funds.
Neil Bowers <email@example.com>
Copyright (C) 2002-2004, Neil Bowers.
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.