xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Locale/Constants.pod (revision 0:68f95e015346)
1*0Sstevel@tonic-gate
2*0Sstevel@tonic-gate=head1 NAME
3*0Sstevel@tonic-gate
4*0Sstevel@tonic-gateLocale::Constants - constants for Locale codes
5*0Sstevel@tonic-gate
6*0Sstevel@tonic-gate=head1 SYNOPSIS
7*0Sstevel@tonic-gate
8*0Sstevel@tonic-gate    use Locale::Constants;
9*0Sstevel@tonic-gate
10*0Sstevel@tonic-gate    $codeset = LOCALE_CODE_ALPHA_2;
11*0Sstevel@tonic-gate
12*0Sstevel@tonic-gate=head1 DESCRIPTION
13*0Sstevel@tonic-gate
14*0Sstevel@tonic-gateB<Locale::Constants> defines symbols which are used in
15*0Sstevel@tonic-gatethe four modules from the Locale-Codes distribution:
16*0Sstevel@tonic-gate
17*0Sstevel@tonic-gate	Locale::Language
18*0Sstevel@tonic-gate	Locale::Country
19*0Sstevel@tonic-gate	Locale::Currency
20*0Sstevel@tonic-gate	Locale::Script
21*0Sstevel@tonic-gate
22*0Sstevel@tonic-gateB<Note:> at the moment only Locale::Country and Locale::Script
23*0Sstevel@tonic-gatesupport more than one code set.
24*0Sstevel@tonic-gate
25*0Sstevel@tonic-gateThe symbols defined are used to specify which codes you
26*0Sstevel@tonic-gatewant to be used:
27*0Sstevel@tonic-gate
28*0Sstevel@tonic-gate	LOCALE_CODE_ALPHA_2
29*0Sstevel@tonic-gate	LOCALE_CODE_ALPHA_3
30*0Sstevel@tonic-gate	LOCALE_CODE_NUMERIC
31*0Sstevel@tonic-gate
32*0Sstevel@tonic-gateYou shouldn't have to C<use> this module directly yourself -
33*0Sstevel@tonic-gateit is used by the three Locale modules, which in turn export
34*0Sstevel@tonic-gatethe symbols.
35*0Sstevel@tonic-gate
36*0Sstevel@tonic-gate=head1 KNOWN BUGS AND LIMITATIONS
37*0Sstevel@tonic-gate
38*0Sstevel@tonic-gateNone at the moment.
39*0Sstevel@tonic-gate
40*0Sstevel@tonic-gate=head1 SEE ALSO
41*0Sstevel@tonic-gate
42*0Sstevel@tonic-gate=over 4
43*0Sstevel@tonic-gate
44*0Sstevel@tonic-gate=item Locale::Language
45*0Sstevel@tonic-gate
46*0Sstevel@tonic-gateCodes for identification of languages.
47*0Sstevel@tonic-gate
48*0Sstevel@tonic-gate=item Locale::Country
49*0Sstevel@tonic-gate
50*0Sstevel@tonic-gateCodes for identification of countries.
51*0Sstevel@tonic-gate
52*0Sstevel@tonic-gate=item Locale::Script
53*0Sstevel@tonic-gate
54*0Sstevel@tonic-gateCodes for identification of scripts.
55*0Sstevel@tonic-gate
56*0Sstevel@tonic-gate=item Locale::Currency
57*0Sstevel@tonic-gate
58*0Sstevel@tonic-gateCodes for identification of currencies and funds.
59*0Sstevel@tonic-gate
60*0Sstevel@tonic-gate=back
61*0Sstevel@tonic-gate
62*0Sstevel@tonic-gate=head1 AUTHOR
63*0Sstevel@tonic-gate
64*0Sstevel@tonic-gateNeil Bowers E<lt>neil@bowers.comE<gt>
65*0Sstevel@tonic-gate
66*0Sstevel@tonic-gate=head1 COPYRIGHT
67*0Sstevel@tonic-gate
68*0Sstevel@tonic-gateCopyright (C) 2002, Neil Bowers.
69*0Sstevel@tonic-gate
70*0Sstevel@tonic-gateCopyright (C) 2001, Canon Research Centre Europe (CRE).
71*0Sstevel@tonic-gate
72*0Sstevel@tonic-gateThis module is free software; you can redistribute it and/or
73*0Sstevel@tonic-gatemodify it under the same terms as Perl itself.
74*0Sstevel@tonic-gate
75*0Sstevel@tonic-gate=cut
76*0Sstevel@tonic-gate
77