File Coverage

blib/lib/Locale/CLDR.pm
Criterion Covered Total %
statement 1087 1524 71.3
branch 264 508 51.9
condition 80 226 35.4
subroutine 156 198 78.7
pod 55 56 98.2
total 1642 2512 65.3


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