Table::Simple::Output::Theory - Use the "theory" table format to output table data.
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.
The following attributes from Table::Simple::Output have been overriden in this subclass:
The default is "|"
The default is "-"
The default is 2.
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.
Mark Allen <mrallen1@yahoo.com>
Moose, Markdent, Table::Simple, Table::Simple::Output
To install Table::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Table::Simple
CPAN shell
perl -MCPAN -e shell install Table::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.