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