line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::Template::Compiled::Lazy; |
2
|
1
|
|
|
1
|
|
396
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
24
|
|
3
|
1
|
|
|
1
|
|
2
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
31
|
|
4
|
|
|
|
|
|
|
our $VERSION = '1.003'; # VERSION |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
2
|
use base 'HTML::Template::Compiled'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
211
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub from_scratch { |
9
|
1
|
|
|
1
|
0
|
2
|
my ($self) = @_; |
10
|
|
|
|
|
|
|
# dummy method. wait until real compilation until output(). |
11
|
1
|
|
|
|
|
2
|
return $self; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
0
|
|
|
0
|
1
|
0
|
sub compile_early { 0 } |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
sub query { |
17
|
1
|
|
|
1
|
1
|
6
|
my ( $self, @args ) = @_; |
18
|
1
|
|
|
|
|
6
|
my $perl = $self->get_perl; |
19
|
1
|
50
|
|
|
|
18
|
unless ($perl) { |
20
|
1
|
|
|
|
|
4
|
$self = $self->SUPER::from_scratch(); |
21
|
|
|
|
|
|
|
} |
22
|
1
|
|
|
|
|
6
|
$self->SUPER::query(@args); |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub output { |
26
|
0
|
|
|
0
|
1
|
|
my ( $self, @args ) = @_; |
27
|
0
|
|
|
|
|
|
my $perl = $self->get_perl; |
28
|
0
|
0
|
|
|
|
|
unless ($perl) { |
29
|
0
|
|
|
|
|
|
$self = $self->SUPER::from_scratch(); |
30
|
|
|
|
|
|
|
} |
31
|
0
|
|
|
|
|
|
$self->SUPER::output(@args); |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub get_code { |
35
|
0
|
|
|
0
|
0
|
|
my ($self) = @_; |
36
|
0
|
|
|
|
|
|
my $perl = $self->get_perl; |
37
|
0
|
0
|
|
|
|
|
unless ($perl) { |
38
|
0
|
|
|
|
|
|
$self = $self->SUPER::from_scratch; |
39
|
0
|
|
|
|
|
|
$perl = $self->get_perl; |
40
|
|
|
|
|
|
|
} |
41
|
0
|
|
|
|
|
|
return $perl; |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
1; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
__END__ |