line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tags::HTML::Page::End; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
85603
|
use strict; |
|
4
|
|
|
|
|
26
|
|
|
4
|
|
|
|
|
116
|
|
4
|
4
|
|
|
4
|
|
20
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
121
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
2293
|
use Class::Utils qw(set_params); |
|
4
|
|
|
|
|
105621
|
|
|
4
|
|
|
|
|
77
|
|
7
|
4
|
|
|
4
|
|
300
|
use Error::Pure qw(err); |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
789
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = 0.04; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# Constructor. |
12
|
|
|
|
|
|
|
sub new { |
13
|
5
|
|
|
5
|
1
|
4183
|
my ($class, @params) = @_; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
# Create object. |
16
|
5
|
|
|
|
|
14
|
my $self = bless {}, $class; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
# 'Tags' object. |
19
|
5
|
|
|
|
|
15
|
$self->{'tags'} = undef; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# Process params. |
22
|
5
|
|
|
|
|
18
|
set_params($self, @params); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
# Check to 'Tags' object. |
25
|
5
|
100
|
100
|
|
|
84
|
if (! $self->{'tags'} || ! $self->{'tags'}->isa('Tags::Output')) { |
26
|
2
|
|
|
|
|
8
|
err "Parameter 'tags' must be a 'Tags::Output::*' class."; |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
# Object. |
30
|
3
|
|
|
|
|
14
|
return $self; |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
# Process 'Tags'. |
34
|
|
|
|
|
|
|
sub process { |
35
|
1
|
|
|
1
|
1
|
111
|
my $self = shift; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
# End of page. |
38
|
1
|
|
|
|
|
6
|
$self->{'tags'}->put( |
39
|
|
|
|
|
|
|
['e', 'body'], |
40
|
|
|
|
|
|
|
['e', 'html'], |
41
|
|
|
|
|
|
|
); |
42
|
|
|
|
|
|
|
|
43
|
1
|
|
|
|
|
94
|
return; |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |