|
NAMEText::FormatTable - Format text tablesSYNOPSISmy $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::ASCIITableCOPYRIGHTCopyright (c) 2001-2004 Swiss Federal Institute of Technology, Zurich. (c) 2009 Trey Harris All Rights Reserved.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/masterAUTHORDavid 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>
Visit the GSP FreeBSD Man Page Interface. |