Commit | Line | Data |
47a334e9 |
1 | # |
2 | # Locale::Constants - defined constants for identifying codesets |
3 | # |
6b14ceb7 |
4 | # $Id: Constants.pm,v 2.1 2002/02/06 04:07:09 neilb Exp $ |
47a334e9 |
5 | # |
6 | |
6b14ceb7 |
7 | package Locale::Constants; |
47a334e9 |
8 | use strict; |
9 | |
10 | require Exporter; |
11 | |
6b14ceb7 |
12 | #----------------------------------------------------------------------- |
13 | # Public Global Variables |
14 | #----------------------------------------------------------------------- |
47a334e9 |
15 | use vars qw($VERSION @ISA @EXPORT); |
6b14ceb7 |
16 | $VERSION = sprintf("%d.%02d", q$Revision: 2.1 $ =~ /(\d+)\.(\d+)/); |
47a334e9 |
17 | @ISA = qw(Exporter); |
18 | @EXPORT = qw(LOCALE_CODE_ALPHA_2 LOCALE_CODE_ALPHA_3 LOCALE_CODE_NUMERIC |
19 | LOCALE_CODE_DEFAULT); |
20 | |
6b14ceb7 |
21 | #----------------------------------------------------------------------- |
22 | # Constants |
23 | #----------------------------------------------------------------------- |
47a334e9 |
24 | use constant LOCALE_CODE_ALPHA_2 => 1; |
25 | use constant LOCALE_CODE_ALPHA_3 => 2; |
26 | use constant LOCALE_CODE_NUMERIC => 3; |
27 | |
28 | use constant LOCALE_CODE_DEFAULT => LOCALE_CODE_ALPHA_2; |
29 | |
30 | 1; |
31 | |