Spreadsheet-HTML ================ Generate HTML tables with ease. Synopsis -------- ```perl use Spreadsheet::HTML; my $data = [ [qw(header1 header2 header3)], [qw(a1 a2 a3)], [qw(b1 b2 b3)], [qw(c1 c2 c3)], [qw(d1 d2 d3)], ]; my $table = Spreadsheet::HTML->new( data => $data ); print $table->portrait; print $table->landscape; # non OO print Spreadsheet::HTML::portrait( $data ); print Spreadsheet::HTML::landscape( $data ); # load from files my $table = Spreadsheet::HTML->new( file => 'data.xls', cache => 1 ); ``` Interface --------- * north (aka portrait)
header1header2header3
a1a2a3
b1b2b3
c1c2c3
d1d2d3
* west (aka landscape)
header1a1b1c1d1
header2a2b2c2d2
header3a3b3c3d3
* east
a1b1c1d1header1
a2b2c2d2header2
a3b3c3d3header3
* south
a1a2a3
b1b2b3
c1c2c3
d1d2d3
header1header2header3
Installation ------------ To install this module, you should use CPAN. A good starting place is [How to install CPAN modules](http://www.cpan.org/modules/INSTALL.html). If you truly want to install from this github repo, then be sure and create the manifest before you test and install: ``` perl Makefile.PL make make manifest make test make install ``` Support and Documentation ------------------------- After installing, you can find documentation for this module with the perldoc command. ``` perldoc Spreadsheet::HTML ``` You can also find documentation at [metaCPAN](https://metacpan.org/pod/Spreadsheet::HTML). License and Copyright --------------------- See [source POD](/lib/Spreadsheet/HTML.pm).