line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Locale::CLDR;
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=encoding utf8
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Locale::CLDR - A Module to create locale objects with localisation data from the CLDR
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 VERSION
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Version 0.29.0
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
This module provides a locale object you can use to localise your output.
|
16
|
|
|
|
|
|
|
The localisation data comes from the Unicode Common Locale Data Repository.
|
17
|
|
|
|
|
|
|
Most of this code can be used with Perl version 5.10.1 or above. There are a
|
18
|
|
|
|
|
|
|
few parts of the code that require version 5.18 or above.
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 USAGE
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
my $locale = Locale::CLDR->new('en_US');
|
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
or
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
my $locale = Locale::CLDR->new(language_id => 'en', region_id => 'us');
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
A full locale identifier is
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
C_C |