Rechercher une page de manuel
Text::SimpleTable.3pm
Langue: en
Version: 2009-02-27 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Text::SimpleTable - Simple Eyecandy ASCII TablesSYNOPSIS
use 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 | | '-------+------------'
DESCRIPTION
Simple eyecandy ASCII tables, as seen in Catalyst.METHODS
- $table->hr
- $table->row( @texts )
- $table->draw
SEE ALSO
CatalystAUTHOR
Sebastian Riedel, "sri@cpan.org"COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre