Text::SimpleTable(3)

NAME
Text::SimpleTable - Simple Eyecandy ASCII Tables

SYNOPSIS
    use Text::SimpleTable;

    my $t1 = Text::SimpleTable->new( 5, 10 );
    $t1->row( 'foobarbaz', 'yadayadayada' );
    print $t1->draw;

    .-------+------------.
    | foob- | yadayaday- |
    | arbaz | ada        |
    '-------+------------'

    my $t2 = Text::SimpleTable->new( [ 5, 'Foo' ], [ 10, 'Bar' ] );
    $t2->row( 'foobarbaz', 'yadayadayada' );
    $t2->row( 'barbarbarbarbar', 'yada' );
    print $t2->draw;

    .-------+------------.
    | Foo   | Bar        |
    +-------+------------+
    | foob- | yadayaday- |
    | arbaz | ada        |
    | barb- | yada       |
    | arba- |            |
    | rbar- |            |
    | bar   |            |
    '-------+------------'

DESCRIPTION
Simple eyecandy ASCII tables, as seen in Catalyst.

METHODS

$table->row( @texts )
$table->draw

SEE ALSO
Catalyst

AUTHOR
Sebastian Riedel, "sri@oook.de"

COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.