Path/PerlClassUTF8.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Path/PerlClass.pm ↑ Summary
1 package Parse::Path::PerlClassUTF8;
2  
3 1 our $VERSION = '0.92'; # VERSION
4 # ABSTRACT: Perl::Class::path::support'with'ŮΤᖴ8
5  
6 #############################################################################
7 # Modules
8  
9 1 ▶use v5.14;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use sanity;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶no warnings 'uninitialized';
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 #############################################################################
18 # Required Methods
19  
20 1 with 'Parse::Path::Role::Path';
21  
22 14 ▶sub _build_blueprint { {
Subroutine _build_blueprint: called CC=1 SCAR=0.0
23 14 hash_step_regexp => qr{
24 # See http://www.learning-perl.com/2011/07/matching-perl-identifiers-is-a-lot-harder-now/
25 (?<key>\p{XID_Start}\p{XID_Continue}*)
26 }x,
27  
28 array_step_regexp => qr/\Z.\A/, # no-op; arrays not supported
29 delimiter_regexp => qr{(?:\:\:|')(?=\p{XID_Start})}, # no dangling delimiters
30  
31 # no support for escapes
32 unescape_translation => [],
33  
34 pos_translation => [
35 [qr/.?/, 'X+1'],
36 ],
37  
38 delimiter_placement => {
39 HH => '::',
40 },
41  
42 array_key_sprintf => '',
43 hash_key_stringification => [
44 [qr/.?/, '%s'],
45 ],
46 } }
47  
48 1 42;
49  
50 __END__
« Path/PerlClass.pm ↑ Summary