line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Tag::Spaceless; |
2
|
2
|
|
|
2
|
|
748
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
45
|
|
3
|
2
|
|
|
2
|
|
9
|
use utf8; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
49
|
|
4
|
2
|
|
|
2
|
|
44
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
57
|
|
5
|
2
|
|
|
2
|
|
9
|
use parent 'DTL::Fast::Tag'; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
10
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
$DTL::Fast::TAG_HANDLERS{spaceless} = __PACKAGE__; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
#@Override |
10
|
1
|
|
|
1
|
0
|
9
|
sub get_close_tag {return 'endspaceless';} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub render |
13
|
|
|
|
|
|
|
{ |
14
|
1
|
|
|
1
|
0
|
2
|
my $self = shift; |
15
|
1
|
|
|
|
|
2
|
my $context = shift; |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
|
|
7
|
my $result = $self->SUPER::render($context); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
|
|
7
|
return DTL::Fast::spaceless($result); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |