line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
4
|
|
|
4
|
|
770
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
127
|
|
3
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
221
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Context::Singleton::Frame::Builder::Hash; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = v1.0.4; |
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
24
|
use parent qw[ Context::Singleton::Frame::Builder::Base ]; |
|
4
|
|
|
|
|
26
|
|
|
4
|
|
|
|
|
31
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub _build_required { |
12
|
4
|
|
|
4
|
|
9
|
my ($self) = @_; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
return ( |
15
|
|
|
|
|
|
|
$self->SUPER::_build_required, |
16
|
4
|
|
|
|
|
18
|
grep defined, values %{ $self->dep }, |
|
4
|
|
|
|
|
14
|
|
17
|
|
|
|
|
|
|
); |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub build_callback_args { |
21
|
4
|
|
|
4
|
0
|
17155
|
my ($self, $resolved) = @_; |
22
|
|
|
|
|
|
|
|
23
|
4
|
|
|
|
|
12
|
my $dep = $self->{dep}; |
24
|
|
|
|
|
|
|
return ( |
25
|
|
|
|
|
|
|
$self->SUPER::build_callback_args ($resolved), |
26
|
4
|
|
|
|
|
18
|
map +( $_ => $resolved->{$dep->{$_}} ), keys %$dep, |
27
|
|
|
|
|
|
|
); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
31
|
|
|
|
|
|
|
|