| 1 | package Data::Sah::Value::perl::Path::curdir_abs; | ||||||||||||
| 2 | |||||||||||||
| 3 | 1 | ▶ | use 5.010001; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | 1 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | |||||||||||||
| 7 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |||||||||||
| 8 | 1 | our $DATE = '2024-02-16'; # DATE | |||||||||||
| 9 | 1 | our $DIST = 'Sah-SchemaBundle-Path'; # DIST | |||||||||||
| 10 | 1 | our $VERSION = '0.031'; # VERSION | |||||||||||
| 11 | |||||||||||||
| 12 | 0 | ▶ | sub meta { | ||||||||||
|
Subroutine
meta: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 13 | +{ | ||||||||||||
| 14 | 0 | v => 1, | |||||||||||
| 15 | summary => 'Current directory, absolutified', | ||||||||||||
| 16 | description => <<'MARKDOWN', | ||||||||||||
| 17 | |||||||||||||
| 18 | MARKDOWN | ||||||||||||
| 19 | args => { | ||||||||||||
| 20 | }, | ||||||||||||
| 21 | }; | ||||||||||||
| 22 | } | ||||||||||||
| 23 | |||||||||||||
| 24 | 0 | ▶ | sub value { | ||||||||||
|
Subroutine
value: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||||
| 25 | 0 | my %cargs = @_; | |||||||||||
| 26 | |||||||||||||
| 27 | 0 | ▶ | my $gen_args = $cargs{args} // {}; | ||||||||||
|
Condition0%0/2
$cargs{"args"} // {}
MC/DC0%0/1
$cargs{"args"} // {}
$cargs{"args"}
Truth table0%0/2
A
A= $cargs{"args"}
| |||||||||||||
| 28 | 0 | my $res = {}; | |||||||||||
| 29 | |||||||||||||
| 30 | 0 | ▶ | $res->{modules}{"Cwd"} //= 0; | ||||||||||
|
Condition0%0/2
$res->{"modules"}{"Cwd"} //= 0
MC/DC0%0/1
$res->{"modules"}{"Cwd"} //= 0
$res->{"modules"}{"Cwd"}
Truth table0%0/2
A
A= $res->{"modules"}{"Cwd"}
| |||||||||||||
| 31 | |||||||||||||
| 32 | 0 | $res->{expr_value} = join( | |||||||||||
| 33 | '', | ||||||||||||
| 34 | 'Cwd::getcwd()', | ||||||||||||
| 35 | ); | ||||||||||||
| 36 | |||||||||||||
| 37 | 0 | $res; | |||||||||||
| 38 | } | ||||||||||||
| 39 | |||||||||||||
| 40 | 1 | 1; | |||||||||||
| 41 | # ABSTRACT: | ||||||||||||
| 42 | |||||||||||||
| 43 | __END__ | ||||||||||||