• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Text/Table/H19-Oct-2016-19781

t/H19-Oct-2016-8754

ChangesH A D19-Oct-2016104 63

LICENSEH A D19-Oct-201617.9 KiB380292

MANIFESTH A D19-Oct-2016257 1514

META.jsonH A D19-Oct-201618.4 KiB533531

META.ymlH A D19-Oct-201612.3 KiB400399

Makefile.PLH A D19-Oct-20161.3 KiB6149

READMEH A D19-Oct-20161.4 KiB4431

dist.iniH A D19-Oct-2016213 1913

weaver.iniH A D19-Oct-201621 21

README

1SYNOPSIS
2
3     use Term::ANSIColor;
4     use Text::Table::TinyColorWide qw/ generate_table /;
5
6     my $rows = [
7         # header row
8         [colored(['bright_green'],'Name'), colored(['bright_green'],'Rank'), colored(['bright_green'],'Serial')],
9         # rows
10         ["\x{7231}\x{4E3D}\x{4E1D}", 'pvt', '123456'],
11         [colored(['bold'],"\x{9C8D}\x{6B65}"),   'cpl', '98765321'],
12         ['carol', 'brig gen', colored(['bold'],'8745')],
13     ];
14     binmode('STDOUT', ':utf8');
15     print generate_table(rows => $rows, header_row => 1);
16
17DESCRIPTION
18
19    This module is like Text::Table::Tiny (0.04) with added support for
20    colored text (text containing ANSI color codes) and wide characters.
21    With this module, text with ANSI color codes and/or wide characters
22    will still line up.
23
24    Interface, options, and format variables are the same as in
25    Text::Table::Tiny.
26
27SEE ALSO
28
29    Text::Table::Tiny
30
31    Text::Table::TinyColor for table with just colored text support. If you
32    only use colored text and not wide characters, this module offers fewer
33    dependencies.
34
35    Text::Table::TinyWide for table with just wide character support. If
36    you only use wide characters and not colored text, this module offers
37    fewer dependencies.
38
39    Text::Table::Any
40
41    Text::ANSITable for more formatting options, but with larger footprint
42    and slower rendering speed.
43
44