| 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__ | ||