The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Table::Simple::Output::Theory - Use the "theory" table format to output table data.

DESCRIPTION

Theory is named after David "theory" Wheeler who provided a table format for the "Markdown" wiki text format (which just happens to match the standard output for PostgreSQL queries.)

It also provides a nice example of how to subclass Table::Simple::Output to control or change how data is output.

Most of the magic to make this work is embedded inside of Moose.

ATTRIBUTES

The following attributes from Table::Simple::Output have been overriden in this subclass:

column_marker

The default is "|"

horizontal_rule

The default is "-"

padding

The default is 2.

LICENSE

Copyright (C) 2010 Mark Allen

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

AUTHOR

Mark Allen <mrallen1@yahoo.com>

SEE ALSO

Moose, Markdent, Table::Simple, Table::Simple::Output