| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# -*- cperl; cperl-indent-level: 4 -*- |
|
2
|
|
|
|
|
|
|
## no critic (RequirePodSections) |
|
3
|
|
|
|
|
|
|
package Crypt::Diceware::Wordlist::NL::ModHex::Module::Build v0.0.1; |
|
4
|
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
21
|
use 5.016000; |
|
|
1
|
|
|
|
|
3
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
7
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
85
|
|
|
8
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
82
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
19
|
use Carp; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
160
|
|
|
11
|
1
|
|
|
1
|
|
769
|
use English qw($OS_ERROR $EXECUTABLE_NAME -no_match_vars); |
|
|
1
|
|
|
|
|
4206
|
|
|
|
1
|
|
|
|
|
9
|
|
|
12
|
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
977
|
use parent 'Crypt::Diceware::Wordlist::NL::ModHex::Module::Build::Standard'; |
|
|
1
|
|
|
|
|
398
|
|
|
|
1
|
|
|
|
|
7
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
## no critic (Capitalization) |
|
16
|
|
|
|
|
|
|
sub ACTION_nytprof { |
|
17
|
|
|
|
|
|
|
## use critic |
|
18
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
|
19
|
0
|
|
|
|
|
|
$self->depends_on('build'); |
|
20
|
0
|
|
|
|
|
|
$self->_run_nytprof(); |
|
21
|
0
|
|
|
|
|
|
return; |
|
22
|
|
|
|
|
|
|
} |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub _run_nytprof { |
|
25
|
0
|
|
|
0
|
|
|
my ($self) = @_; |
|
26
|
0
|
0
|
|
|
|
|
eval { require Devel::NYTProf; 1 } |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
or Carp::croak 'Devel::NYTProf is required to run nytprof'; |
|
28
|
0
|
0
|
|
|
|
|
eval { require File::Which; File::Which->import('which'); 1 } |
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
or Carp::croak 'File::Which is required to run nytprof'; |
|
30
|
0
|
0
|
|
|
|
|
my $nytprofhtml = File::Which::which('nytprofhtml') |
|
31
|
|
|
|
|
|
|
or Carp::croak 'Could not find nytprofhtml in your PATH'; |
|
32
|
0
|
|
|
|
|
|
my $this_perl = $EXECUTABLE_NAME; |
|
33
|
0
|
|
|
|
|
|
my @perl_args = qw(-Iblib/lib -d:NYTProf bin/p800date 36LC0079.jpg); |
|
34
|
0
|
|
|
|
|
|
warn qq{Running: $this_perl @perl_args\n}; |
|
35
|
0
|
|
|
|
|
|
my $status = system $this_perl, @perl_args; |
|
36
|
|
|
|
|
|
|
|
|
37
|
0
|
0
|
|
|
|
|
if ( 1 == $status ) { |
|
38
|
0
|
|
|
|
|
|
Carp::croak qq{p800date failed with status $status}; |
|
39
|
|
|
|
|
|
|
} |
|
40
|
0
|
|
|
|
|
|
$status = system $nytprofhtml; |
|
41
|
0
|
0
|
|
|
|
|
if ($status) { |
|
42
|
0
|
|
|
|
|
|
Carp::croak qq{nytprofhtml failed with status $status}; |
|
43
|
|
|
|
|
|
|
} |
|
44
|
0
|
|
|
|
|
|
return; |
|
45
|
|
|
|
|
|
|
} |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
__END__ |