File Coverage

blib/lib/Locale/CLDR/Locales/En/Any/Us/Posix.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
4              
5             Locale::CLDR::Locales::En::Any::Us::Posix - Package for language English
6              
7             =cut
8              
9             # This file auto generated from Data/common/main/en_US_POSIX.xml
10             # on Mon 11 Apr 5:27:09 pm GMT
11              
12             use strict;
13 1     1   1067 use warnings;
  1         2  
  1         26  
14 1     1   4 use version;
  1         2  
  1         49  
15 1     1   7  
  1         2  
  1         7  
16             our $VERSION = version->declare('v0.34.1');
17              
18             use v5.10.1;
19 1     1   92 use mro 'c3';
  1         3  
20 1     1   6 use utf8;
  1         2  
  1         7  
21 1     1   24 use if $^V ge v5.12.0, feature => 'unicode_strings';
  1         2  
  1         8  
22 1     1   34 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         16  
23 1     1   112 use Moo;
  1         2  
  1         9  
24 1     1   908  
  1         69  
  1         8  
25             extends('Locale::CLDR::Locales::En::Any::Us');
26             has 'WordBreak_variables' => (
27             is => 'ro',
28             isa => ArrayRef,
29             init_arg => undef,
30             default => sub {[
31             '$MidNumLet' => '[[$MidNumLet]-[.]]',
32             '$MidLetter' => '[[$MidLetter]-[\:]]',
33             '$MidNum' => '[[$MidNum] [.]]',
34             ]}
35             );
36             has 'characters' => (
37             is => 'ro',
38             isa => HashRef,
39             init_arg => undef,
40             default => $^V ge v5.18.0
41             ? eval <<'EOT'
42             sub {
43             no warnings 'experimental::regex_sets';
44             return {
45             numbers => qr{[\- , . / % + 0 1 2 3 4 5 6 7 8 9]},
46             };
47             },
48             EOT
49             : sub {
50             return {};
51             },
52             );
53 1     1   111  
  1         2  
  1         93  
54              
55             has 'number_symbols' => (
56             is => 'ro',
57             isa => HashRef,
58             init_arg => undef,
59             default => sub { {
60             'latn' => {
61             'infinity' => q(INF),
62             'perMille' => q(0/00),
63             },
64             } }
65             );
66              
67             has 'number_formats' => (
68             is => 'ro',
69             isa => HashRef,
70             init_arg => undef,
71             default => sub { {
72             decimalFormat => {
73             'default' => {
74             'standard' => {
75             'default' => '0.######',
76             },
77             },
78             },
79             percentFormat => {
80             'default' => {
81             'standard' => {
82             'default' => '0%',
83             },
84             },
85             },
86             scientificFormat => {
87             'default' => {
88             'standard' => {
89             'default' => '0.000000E+000',
90             },
91             },
92             },
93             } },
94             );
95              
96             has 'number_currency_formats' => (
97             is => 'ro',
98             isa => HashRef,
99             init_arg => undef,
100             default => sub { {
101             'latn' => {
102             'pattern' => {
103             'default' => {
104             'standard' => {
105             'positive' => '¤ 0.00',
106             },
107             },
108             },
109             },
110             } },
111             );
112              
113             no Moo;
114 1     1   590  
  1         2  
  1         4  
115             1;
116              
117             # vim: tabstop=4