|
NAMEText::Table::TinyColor - Text::Table::Tiny + support for colored textVERSIONThis document describes version 0.002 of Text::Table::TinyColor (from Perl distribution Text-Table-TinyColor), released on 2016-10-19.SYNOPSISuse Term::ANSIColor; use Text::Table::TinyColor qw/ generate_table /; my $rows = [ # header row [colored(['bright_green'],'Name'), colored(['bright_green'],'Rank'), colored(['bright_green'],'Serial')], # rows ['alice', 'pvt', '123456'], ['bob', 'cpl', '98765321'], ['carol', 'brig gen', colored(['bold'], '8745')], ]; print generate_table(rows => $rows, header_row => 1); DESCRIPTIONThis module is like Text::Table::Tiny (0.04) with added support for colored text (text that contains ANSI color codes). With this module, the colored text will still line up.Interface, options, and format variables are the same as in Text::Table::Tiny. HOMEPAGEPlease visit the project's homepage at <https://metacpan.org/release/Text-Table-TinyColor>.SOURCESource repository is at <https://github.com/perlancar/perl-Text-Table-TinyColor>.BUGSPlease report any bugs or feature requests on the bugtracker website <https://rt.cpan.org/Public/Dist/Display.html?Name=Text-Table-TinyColor>When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. SEE ALSOText::Table::TinyText::Table::TinyWide for table with wide character support. Text::Table::TinyColorWide for table with colored text and wide character support. Text::Table::Any Text::ANSITable for more formatting options and wide character support, but with larger footprint and slower rendering speed. AUTHORperlancar <perlancar@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2016 by perlancar@cpan.org.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |