The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Text::Table::TinyWide - Text::Table::Tiny + support for wide character

VERSION

This document describes version 0.001 of Text::Table::TinyWide (from Perl distribution Text-Table-TinyWide), released on 2016-10-19.

SYNOPSIS

 use Text::Table::TinyWide qw/ generate_table /;

 my $rows = [
     # header row
     ['Name', 'Rank', 'Serial'],
     # rows
     ["\x{7231}\x{4E3D}\x{4E1D}", 'pvt', '123456'],
     ['bob',   'cpl', '98765321'],
     ['carol', 'brig gen', '8745'],
 ];
 binmode('STDOUT', ':utf8');
 print generate_table(rows => $rows, header_row => 1);

DESCRIPTION

This module is like Text::Table::Tiny (0.04) with added support for wide characters. With this module, text with wide characters will still line up.

Interface, options, and format variables are the same as in Text::Table::Tiny.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Text-Table-TinyWide.

SOURCE

Source repository is at https://github.com/perlancar/perl-Text-Table-TinyWide.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Text-Table-TinyWide

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 ALSO

Text::Table::Tiny

Text::Table::TinyColor for table with colored text support.

Text::Table::TinyColorWide for table with colored text and wide character support.

Text::Table::Any

Text::ANSITable for more formatting options and colored text support, but with larger footprint and slower rendering speed.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This 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.