File: HTML.pm

package info (click to toggle)
libspreadsheet-wright-perl 0.107-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 228 kB
  • sloc: perl: 1,008; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package Spreadsheet::Wright::HTML;

use 5.010;
use strict;
use warnings;
no warnings qw( uninitialized numeric );

BEGIN {
	$Spreadsheet::Wright::HTML::VERSION   = '0.107';
	$Spreadsheet::Wright::HTML::AUTHORITY = 'cpan:TOBYINK';
}

use Carp;
use HTML::HTML5::Writer;

use parent qw(Spreadsheet::Wright::XHTML);

sub _make_output
{
	my $self   = shift;
	my $writer = HTML::HTML5::Writer->new;
	return $writer->document($self->{'document'});
}

1;