line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package MojoX::Renderer::HTC; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
21462
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
29
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
31
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
1292
|
use HTML::Template::Compiled; |
|
1
|
|
|
|
|
66878
|
|
|
1
|
|
|
|
|
6
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '0.01'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub build { |
14
|
0
|
|
|
0
|
1
|
|
my ($self, %args) = @_; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
return sub { |
17
|
0
|
|
|
0
|
|
|
my ($mojo, $ctx, $output) = @_; |
18
|
|
|
|
|
|
|
|
19
|
0
|
|
|
|
|
|
my $stash = $ctx->stash; |
20
|
0
|
|
|
|
|
|
my $template = HTML::Template::Compiled->new( |
21
|
|
|
|
|
|
|
%args, |
22
|
|
|
|
|
|
|
filename => $stash->{template}, |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
|
25
|
0
|
|
|
|
|
|
$template->param( |
26
|
|
|
|
|
|
|
%$stash, |
27
|
|
|
|
|
|
|
); |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
|
|
|
$$output = $template->output; |
30
|
|
|
|
|
|
|
} |
31
|
0
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; # End of MojoX::Renderer::HTC |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
__END__ |