line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package File::Assets::Filter::Concat; |
2
|
|
|
|
|
|
|
|
3
|
10
|
|
|
10
|
|
9375
|
use strict; |
|
10
|
|
|
|
|
25
|
|
|
10
|
|
|
|
|
340
|
|
4
|
10
|
|
|
10
|
|
51
|
use warnings; |
|
10
|
|
|
|
|
19
|
|
|
10
|
|
|
|
|
294
|
|
5
|
|
|
|
|
|
|
|
6
|
10
|
|
|
10
|
|
47
|
use base qw/File::Assets::Filter::Collect/; |
|
10
|
|
|
|
|
21
|
|
|
10
|
|
|
|
|
2215
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub signature { |
9
|
74
|
|
|
74
|
0
|
599
|
return "concat"; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub build_content { |
13
|
23
|
|
|
23
|
0
|
41
|
my $self = shift; |
14
|
|
|
|
|
|
|
|
15
|
23
|
|
|
|
|
125
|
my $matched = $self->matched; |
16
|
|
|
|
|
|
|
|
17
|
23
|
|
|
|
|
47
|
my $content = ""; |
18
|
23
|
|
|
|
|
75
|
for my $match (@$matched) { |
19
|
45
|
|
|
|
|
69
|
$content .= ${ $match->{asset}->content }; |
|
45
|
|
|
|
|
194
|
|
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
23
|
|
|
|
|
83
|
return \$content; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
__END__ |