NAME

    Data::Tabulate::Plugin::HTMLTable - HTML::Table plugin for
    Data::Tabulate

VERSION

    version 0.06

SYNOPSIS

    This module renders the table for HTML

        use Data::Tabulate;
        
        my @array = (1..10);
        my $foo   = Data::Tabulate->new();
        my $html  = $foo->render('HTMLTable',{data => [@array]});

METHODS

 new

    create a new object of Data::Tabulate::Plugin::HTMLTable.

        my $obj = Data::Tabulate::Plugin::HTML::Table->new;

 output

    returns a string that contains the HTML source for the table

        my $html_table = $obj->output(
            ['a1', 'b1', 'c1' ],
            ['a2', 'b2', 'c2' ],
            ['a3', 'b3', 'c3' ],
        );

 attributes

    set some attributes for HTML::Table.

        my $obj = Data::Tabulate::Plugin::HTML::Table->new;
        $obj->attributes(
            -border => 1,
            -bgcolor => 'red',
        );
    
        my $html_table = $obj->output(
            ['a1', 'b1', 'c1' ],
            ['a2', 'b2', 'c2' ],
            ['a3', 'b3', 'c3' ],
        );

AUTHOR

    Renee Baecker <module@renee-baecker.de>

COPYRIGHT AND LICENSE

    This software is Copyright (c) 2015 by Renee Baecker.

    This is free software, licensed under:

      The Artistic License 2.0 (GPL Compatible)

