| 1 | package Tags::HTML::Page::End; | ||
| 2 | |||
| 3 | 4 | ▶ | use base qw(Tags::HTML); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 4 | our $VERSION = 0.06; | |
| 8 | |||
| 9 | # Constructor. | ||
| 10 | 6 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 11 | 6 | my ($class, @params) = @_; | |
| 12 | |||
| 13 | # No CSS support. | ||
| 14 | 6 | push @params, 'no_css', 1; | |
| 15 | |||
| 16 | 6 | my $self = $class->SUPER::new(@params); | |
| 17 | |||
| 18 | # Object. | ||
| 19 | 4 | return $self; | |
| 20 | } | ||
| 21 | |||
| 22 | # Process 'Tags'. | ||
| 23 | 1 | ▶ | sub _process { |
|
Subroutine
_process: called CC=1 SCAR=0.0
| |||
| 24 | 1 | my $self = shift; | |
| 25 | |||
| 26 | # End of page. | ||
| 27 | 1 | $self->{'tags'}->put( | |
| 28 | ['e', 'body'], | ||
| 29 | ['e', 'html'], | ||
| 30 | ); | ||
| 31 | |||
| 32 | 1 | return; | |
| 33 | } | ||
| 34 | |||
| 35 | 4 | 1; | |
| 36 | |||
| 37 | __END__ | ||