File Coverage

blib/lib/Locale/CLDR/Locales/Ann.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::Ann - Package for language Obolo
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Ann;
10             # This file auto generated from Data\common\main\ann.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1550097 use strict;
  1         2  
  1         46  
14 1     1   6 use warnings;
  1         2  
  1         86  
15 1     1   7 use version;
  1         2  
  1         10  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   141 use v5.12.0;
  1         4  
20 1     1   7 use mro 'c3';
  1         3  
  1         8  
21 1     1   36 use utf8;
  1         2  
  1         10  
22 1     1   91 use feature 'unicode_strings';
  1         3  
  1         189  
23 1     1   7 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         5  
  1         13  
24 1     1   3202 use Moo;
  1         8  
  1         8  
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             'ann' => 'Obolo',
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             auxiliary => qr{[áǎ c éě h íǐ ḿ ń óǒ{ọ́}{ọ̌} q ṣ úǔ x]},
55             index => ['a', 'b', '{ch}', 'd', 'e', 'f', 'g', 'i', 'j', 'k', 'l', 'm', 'n{n̄}', 'oọ', 'p', 'r', 's', 't', 'u', 'v', 'w', 'y', 'z'],
56             main => qr{[aàâ b {ch} d eèê f g iìî j k l m{m̀} nǹ{n̄} oòôọ{ọ̀}ộ p r s {sh} t uùû v w y z]},
57             punctuation => qr{[, ; ! ? .]},
58             };
59             },
60             EOT
61             : sub {
62             return { index => ['a', 'b', '{ch}', 'd', 'e', 'f', 'g', 'i', 'j', 'k', 'l', 'm', 'n{n̄}', 'oọ', 'p', 'r', 's', 't', 'u', 'v', 'w', 'y', 'z'], };
63             },
64 1     1   225 );
  1         3  
  1         327  
65              
66              
67             has 'currencies' => (
68             is => 'ro',
69             isa => HashRef,
70             init_arg => undef,
71             default => sub { {
72             'NGN' => {
73             symbol => '₦',
74             },
75             } },
76             );
77              
78              
79 1     1   1141 no Moo;
  1         2  
  1         6  
80              
81             1;
82              
83             # vim: tabstop=4