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