/usr/share/perl5/OpenSRS/Constants.pm is in libopensrs-perl 3.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | package OpenSRS::Constants;
#
# OpenSRS::Constants - defined constants for identifying codesets
#
#
use strict;
require Exporter;
use vars qw($VERSION @ISA @EXPORT);
@ISA = qw(Exporter);
@EXPORT = qw(LOCALE_CODE_ALPHA_2 LOCALE_CODE_ALPHA_3 LOCALE_CODE_NUMERIC
LOCALE_CODE_DEFAULT);
use constant LOCALE_CODE_ALPHA_2 => 1;
use constant LOCALE_CODE_ALPHA_3 => 2;
use constant LOCALE_CODE_NUMERIC => 3;
use constant LOCALE_CODE_DEFAULT => LOCALE_CODE_ALPHA_2;
1;
__END__
=head1 NAME
OpenSRS::Constants - constants for Locale codes
=head1 SYNOPSIS
use OpenSRS::Constants;
$codeset = LOCALE_CODE_ALPHA_2;
=head1 DESCRIPTION
B<OpenSRS::Constants> defines symbols which are used in
the three modules from the Locale-Codes distribution:
OpenSRS::Language
OpenSRS::Country
OpenSRS::Currency
B<Note:> at the moment only OpenSRS::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 C<use> this module directly yourself -
it is used by the three Locale modules, which in turn export
the symbols.
=head1 KNOWN BUGS AND LIMITATIONS
None at the moment.
=head1 SEE ALSO
=over 4
=item OpenSRS::Language
Codes for identification of languages.
=item OpenSRS::Country
Codes for identification of countries.
=item OpenSRS::Currency
Codes for identification of currencies and funds.
=back
=head1 AUTHOR
Neil Bowers E<lt>neilb@cre.canon.co.ukE<gt>
=head1 COPYRIGHT
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.
=cut
|