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