Text::ASCIITableText::ASCIITable is a Perl module to create a nice formatted table using ASCII characters. | |
Download |
Text::ASCIITable Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Hkon Nessj
- Publisher web site:
- http://search.cpan.org/~lunatic/Text-ASCIITable-0.18/lib/Text/ASCIITable.pm
Text::ASCIITable Tags
Text::ASCIITable Description
Text::ASCIITable is a Perl module to create a nice formatted table using ASCII characters. Text::ASCIITable is a Perl module to create a nice formatted table using ASCII characters.SYNOPSIS use Text::ASCIITable; $t = Text::ASCIITable->new({ headingText => 'Basket' }); $t->setCols('Id','Name','Price'); $t->addRow(1,'Dummy product 1',24.4); $t->addRow(2,'Dummy product 2',21.2); $t->addRow(3,'Dummy product 3',12.3); $t->addRowLine(); $t->addRow('','Total',57.9); print $t; # Result: .------------------------------. | Basket | +----+-----------------+-------+ | Id | Name | Price | +----+-----------------+-------+ | 1 | Dummy product 1 | 24.4 | | 2 | Dummy product 2 | 21.2 | | 3 | Dummy product 3 | 12.3 | +----+-----------------+-------+ | | Total | 57.9 | '----+-----------------+-------'Requirements:· Perl Requirements: · Perl
Text::ASCIITable Related Software