|
NAMEText::FormatTable - Format text tables SYNOPSIS my $table = Text::FormatTable->new('r|l');
$table->head('a', 'b');
$table->rule('=');
$table->row('c', 'd');
print $table->render(20);
DESCRIPTIONText::FormatTable renders simple tables as text. You pass to the constructor (new) a table format specification similar to LaTeX (e.g. "r|l|5l|R|20L") and you call methods to fill the table data and insert rules. After the data is filled, you call the render method and the table gets formatted as text. Methods:
SEE ALSOText::ASCIITable COPYRIGHTCopyright (c) 2001-2004 Swiss Federal Institute of Technology,
Zurich.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. CODE REPOSITORYGit - http://github.com/treyharris/Text-FormatTable/tree/master AUTHORDavid Schweikert <dws@ee.ethz.ch> Maintained by Trey Harris <treyharris@gmail.com> Fixed column width and bottom alignment written by Veselin Slavov <vslavov@creditreform.bg>
|