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

This is free software. You may modify and/or redistribute it under the same terms as Perl itself.

AUTHOR

Mark Allen <mrallen1@yahoo.com>

SEE ALSO

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