1 package Locale::Constants;
3 # Locale::Constants - defined constants for identifying codesets
5 # $Id: Constants.pm,v 1.1 2001/03/04 17:58:15 neilb Exp $
12 use vars qw($VERSION @ISA @EXPORT);
14 @EXPORT = qw(LOCALE_CODE_ALPHA_2 LOCALE_CODE_ALPHA_3 LOCALE_CODE_NUMERIC
17 use constant LOCALE_CODE_ALPHA_2 => 1;
18 use constant LOCALE_CODE_ALPHA_3 => 2;
19 use constant LOCALE_CODE_NUMERIC => 3;
21 use constant LOCALE_CODE_DEFAULT => LOCALE_CODE_ALPHA_2;
29 Locale::Constants - constants for Locale codes
33 use Locale::Constants;
35 $codeset = LOCALE_CODE_ALPHA_2;
39 B<Locale::Constants> defines symbols which are used in
40 the three modules from the Locale-Codes distribution:
46 B<Note:> at the moment only Locale::Country supports
47 more than one code set.
49 The symbols defined are used to specify which codes you
56 You shouldn't have to C<use> this module directly yourself -
57 it is used by the three Locale modules, which in turn export
60 =head1 KNOWN BUGS AND LIMITATIONS
68 =item Locale::Language
70 Codes for identification of languages.
74 Codes for identification of countries.
76 =item Locale::Currency
78 Codes for identification of currencies and funds.
84 Neil Bowers E<lt>neilb@cre.canon.co.ukE<gt>
88 Copyright (C) 2001, Canon Research Centre Europe (CRE).
90 This module is free software; you can redistribute it and/or
91 modify it under the same terms as Perl itself.