|
Text::FormatTable - Format text tables |
Text::FormatTable - Format text tables
my $table = Text::FormatTable->new('r|l');
$table->head('a', 'b');
$table->rule('=');
$table->row('c', 'd');
print $table->render(20);
Text::FormatTable renders simple tables as text. You pass to the constructor
(new) a table format specification similar to LaTeX (e.g. r|l|l) 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:
Copyright (c) 2001,2002 Swiss Federal Institute of Technology, Zurich. All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
David Schweikert <dws@ee.ethz.ch>
|
Text::FormatTable - Format text tables |