File Coverage

blib/lib/Locale/CLDR/Locales/En/Latn/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 NAME
4              
5             Locale::CLDR::Locales::En::Latn::Us::Posix - Package for language English
6              
7             =cut
8              
9             package Locale::CLDR::Locales::En::Latn::Us::Posix;
10             # This file auto generated from Data\common\main\en_US_POSIX.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1384 use strict;
  1         3  
  1         35  
14 1     1   4 use warnings;
  1         2  
  1         56  
15 1     1   7 use version;
  1         1  
  1         7  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   149 use v5.12.0;
  1         4  
20 1     1   5 use mro 'c3';
  1         2  
  1         7  
21 1     1   47 use utf8;
  1         2  
  1         6  
22 1     1   30 use feature 'unicode_strings';
  1         2  
  1         154  
23 1     1   32 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         3  
  1         8  
24 1     1   3116 use Moo;
  1         2  
  1         6  
25              
26             extends('Locale::CLDR::Locales::En::Latn::Us');
27             has 'WordBreak_variables' => (
28             is => 'ro',
29             isa => ArrayRef,
30             init_arg => undef,
31             default => sub {[
32             '$MidNumLet' => '[[$MidNumLet]-[.]]',
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 1     1   177 );
  1         3  
  1         124  
53              
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 1     1   925 no Moo;
  1         2  
  1         5  
114              
115             1;
116              
117             # vim: tabstop=4