Query: text::simpletable
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Text::SimpleTable(3pm) User Contributed Perl Documentation Text::SimpleTable(3pm)NAMEText::SimpleTable - Simple Eyecandy ASCII TablesSYNOPSISuse Text::SimpleTable; my $t1 = Text::SimpleTable->new(5, 10); $t1->row('foobarbaz', 'yadayadayada'); print $t1->draw; .-------+------------. | foob- | yadayaday- | | arbaz | ada | '-------+------------' my $t2 = Text::SimpleTable->new([5, 'Foo'], [10, 'Bar']); $t2->row('foobarbaz', 'yadayadayada'); $t2->row('barbarbarbarbar', 'yada'); print $t2->draw; .-------+------------. | Foo | Bar | +-------+------------+ | foob- | yadayaday- | | arbaz | ada | | barb- | yada | | arba- | | | rbar- | | | bar | | '-------+------------' my $t3 = Text::SimpleTable->new([5, 'Foo'], [10, 'Bar']); $t3->row('foobarbaz', 'yadayadayada'); $t3->hr; $t3->row('barbarbarbarbar', 'yada'); print $t3->draw; .-------+------------. | Foo | Bar | +-------+------------+ | foob- | yadayaday- | | arbaz | ada | +-------+------------+ | barb- | yada | | arba- | | | rbar- | | | bar | | '-------+------------'DESCRIPTIONSimple eyecandy ASCII tables.METHODSText::SimpleTable implements the following methods. "new" my $t = Text::SimpleTable->new(5, 10); my $t = Text::SimpleTable->new([5, 'Col1', 10, 'Col2']); "draw" my $ascii = $t->draw; "hr" $t = $t->hr; "row" $t = $t->row('col1 data', 'col2 data');AUTHORSebastian Riedel, "sri@cpan.org".CREDITSIn alphabetical order: Brian CassidyCOPYRIGHTCopyright (C) 2005-2009, Sebastian Riedel. This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10. perl v5.10.0 2009-07-03 Text::SimpleTable(3pm)
Related Man Pages |
---|
pod::simple::text5.18(3pm) - mojave |
pod::simple::text(3pm) - suse |
text::tabs(3pm) - centos |
text::qrcode(3pm) - debian |
text::simpletable(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
How to make a number in a text file a variable? |
List-to-Range of Numbers |
Subtracting columns against each other |
Syntax error using Awk |
Do you draw flowcharts |