1Term::Table::Util(3)  User Contributed Perl Documentation Term::Table::Util(3)
2
3
4

NAME

6       Term::Table::Util - Utilities for Term::Table.
7

DESCRIPTION

9       This package exports some tools used by Term::Table.
10

EXPORTS

12   CONSTANTS
13       $bool = USE_GCS
14           True if Unicode::GCString is installed.
15
16       $bool = USE_TERM_READKEY
17           True if Term::ReadKey is installed.
18
19   UTILITIES
20       $width = term_size()
21           Get the width of the terminal.
22
23           If the $TABLE_TERM_SIZE environment variable is set then that value
24           will be returned.
25
26           This will default to 80 if there is no good way to get the size, or
27           if the size is unreasonably small.
28
29           If Term::ReadKey is installed it will be used.
30
31       $width = uni_length($string)
32           Get the width (in columns) of the specified string. When
33           Unicode::GCString is installed this will work on unicode strings,
34           otherwise it will just use length($string).
35

SOURCE

37       The source code repository for Term-Table can be found at
38       http://github.com/exodist/Term-Table/.
39

MAINTAINERS

41       Chad Granum <exodist@cpan.org>
42

AUTHORS

44       Chad Granum <exodist@cpan.org>
45
47       Copyright 2016 Chad Granum <exodist@cpan.org>.
48
49       This program is free software; you can redistribute it and/or modify it
50       under the same terms as Perl itself.
51
52       See http://dev.perl.org/licenses/
53
54
55
56perl v5.38.0                      2023-07-21              Term::Table::Util(3)
Impressum