File Coverage

blib/lib/Locale/CLDR/Locales/Io.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::Io - Package for language Ido
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Io;
10             # This file auto generated from Data\common\main\io.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1542670 use strict;
  1         3  
  1         29  
14 1     1   3 use warnings;
  1         2  
  1         52  
15 1     1   4 use version;
  1         2  
  1         6  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   98 use v5.12.0;
  1         3  
20 1     1   4 use mro 'c3';
  1         1  
  1         8  
21 1     1   19 use utf8;
  1         1  
  1         6  
22 1     1   36 use feature 'unicode_strings';
  1         2  
  1         132  
23 1     1   6 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         8  
24 1     1   1700 use Moo;
  1         6  
  1         6  
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             'io' => 'Ido',
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 c d e f g h i j k l m n o p q r s t u v w x 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   193 );
  1         3  
  1         205  
63              
64              
65 1     1   604 no Moo;
  1         2  
  1         3  
66              
67             1;
68              
69             # vim: tabstop=4