File Coverage

blib/lib/Locale/CLDR/Locales/Kpe.pm
Criterion Covered Total %
statement 32 32 100.0
branch n/a
condition n/a
subroutine 11 11 100.0
pod n/a
total 43 43 100.0


line stmt bran cond sub pod time code
1             =encoding utf8
2              
3             =head1 NAME
4              
5             Locale::CLDR::Locales::Kpe - Package for language Kpelle
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Kpe;
10             # This file auto generated from Data\common\main\kpe.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1671409 use strict;
  1         2  
  1         30  
14 1     1   4 use warnings;
  1         6  
  1         43  
15 1     1   4 use version;
  1         2  
  1         6  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   89 use v5.12.0;
  1         4  
20 1     1   3 use mro 'c3';
  1         2  
  1         6  
21 1     1   40 use utf8;
  1         3  
  1         8  
22 1     1   45 use feature 'unicode_strings';
  1         2  
  1         172  
23 1     1   9 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         1  
  1         8  
24 1     1   1669 use Moo;
  1         16  
  1         5  
25              
26             extends('Locale::CLDR::Locales::Root');
27             has 'display_name_language' => (
28             is => 'ro',
29             isa => CodeRef,
30             init_arg => undef,
31             default => sub {
32             sub {
33             my %languages = (
34             'kpe' => 'Kpɛlɛɛ',
35              
36             );
37             if (@_) {
38             return $languages{$_[0]};
39             }
40             return \%languages;
41             }
42             },
43             );
44              
45             has 'characters' => (
46             is => 'ro',
47             isa => HashRef,
48             init_arg => undef,
49             default => $^V ge v5.18.0
50             ? eval <<'EOT'
51             sub {
52             no warnings 'experimental::regex_sets';
53             return {
54             index => ['A', 'B', 'Ɓ', 'C', 'D', 'E', 'Ə', 'Ɛ', 'F', 'G', 'Ɣ', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'Ɲ', 'Ŋ', 'O', 'Ɔ', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'],
55             main => qr{[a b ɓ d e ə ɛ f gĝ {gb} {gw} ɣ h i j k {kp} {kw} l m n {ny} ɲ ŋ {ŋw} o ɔ p t u v w y z]},
56             };
57             },
58             EOT
59             : sub {
60             return { index => ['A', 'B', 'Ɓ', 'C', 'D', 'E', 'Ə', 'Ɛ', 'F', 'G', 'Ɣ', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'Ɲ', 'Ŋ', 'O', 'Ɔ', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'], };
61             },
62 1     1   146 );
  1         2  
  1         135  
63              
64              
65             has 'currencies' => (
66             is => 'ro',
67             isa => HashRef,
68             init_arg => undef,
69             default => sub { {
70             'LRD' => {
71             symbol => '$',
72             },
73             } },
74             );
75              
76              
77             has 'eras' => (
78             is => 'ro',
79             isa => HashRef,
80             init_arg => undef,
81             default => sub { {
82             'gregorian' => {
83             },
84             } },
85             );
86              
87             has 'date_formats' => (
88             is => 'ro',
89             isa => HashRef,
90             init_arg => undef,
91             default => sub { {
92             'gregorian' => {
93             },
94             } },
95             );
96              
97             has 'time_formats' => (
98             is => 'ro',
99             isa => HashRef,
100             init_arg => undef,
101             default => sub { {
102             'gregorian' => {
103             'full' => q{h:mm:ss a zzzz},
104             'long' => q{h:mm:ss a z},
105             'medium' => q{h:mm:ss a},
106             'short' => q{h:mm a},
107             },
108             } },
109             );
110              
111             has 'datetime_formats' => (
112             is => 'ro',
113             isa => HashRef,
114             init_arg => undef,
115             default => sub { {
116             'gregorian' => {
117             },
118             } },
119             );
120              
121             has 'datetime_formats_available_formats' => (
122             is => 'ro',
123             isa => HashRef,
124             init_arg => undef,
125             default => sub { {
126             } },
127             );
128              
129             has 'datetime_formats_append_item' => (
130             is => 'ro',
131             isa => HashRef,
132             init_arg => undef,
133             default => sub { {
134             } },
135             );
136              
137             has 'datetime_formats_interval' => (
138             is => 'ro',
139             isa => HashRef,
140             init_arg => undef,
141             default => sub { {
142             } },
143             );
144              
145 1     1   847 no Moo;
  1         1  
  1         4  
146              
147             1;
148              
149             # vim: tabstop=4