File Coverage

blib/lib/Locale/CLDR/Locales/Arn.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::Arn - Package for language Mapuche
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Arn;
10             # This file auto generated from Data\common\main\arn.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1680164 use strict;
  1         5  
  1         46  
14 1     1   7 use warnings;
  1         8  
  1         70  
15 1     1   8 use version;
  1         1  
  1         10  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   1409 use v5.12.0;
  1         5  
20 1     1   11 use mro 'c3';
  1         2  
  1         9  
21 1     1   62 use utf8;
  1         2  
  1         10  
22 1     1   57 use feature 'unicode_strings';
  1         1  
  1         133  
23 1     1   4 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         3  
  1         9  
24 1     1   3484 use Moo;
  1         2  
  1         34  
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             'arn' => 'Mapudungun',
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{[b c h j q x z]},
55             index => ['A', '{CH}', 'D', 'E', 'F', 'G', 'I', 'K', 'LḺ', '{LL}', 'M', 'NÑṈ', '{NG}', 'O', 'P', 'R', 'S', '{SH}', 'TṮ', '{TR}', 'UÜ', 'W', 'Y'],
56             main => qr{[a {ch} d e f g i k lḻ {ll} m nñṉ {ng} o p r s {sh} tṯ {tr} uü w y]},
57             };
58             },
59             EOT
60             : sub {
61             return { index => ['A', '{CH}', 'D', 'E', 'F', 'G', 'I', 'K', 'LḺ', '{LL}', 'M', 'NÑṈ', '{NG}', 'O', 'P', 'R', 'S', '{SH}', 'TṮ', '{TR}', 'UÜ', 'W', 'Y'], };
62             },
63 1     1   206 );
  1         2  
  1         237  
64              
65              
66 1     1   770 no Moo;
  1         1  
  1         4  
67              
68             1;
69              
70             # vim: tabstop=4