Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Term::Table::Util

Name Term::Table::Util
Version 0.016
Located at /usr/local/share/perl5
File /usr/local/share/perl5/Term/Table/Util.pm
Is Core No
Search CPAN for this module Term::Table::Util
Documentation Term::Table::Util
Module Details Term::Table::Util


NAME

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


DESCRIPTION

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


EXPORTS

CONSTANTS

$bool = USE_GCS
True if the Unicode::GCString manpage is installed.

$bool = USE_TERM_READKEY
True if the Term::ReadKey manpage is installed.

UTILITIES

$width = term_size()
Get the width of the terminal.

If the $TABLE_TERM_SIZE environment variable is set then that value will be returned.

This will default to 80 if there is no good way to get the size, or if the size is unreasonably small.

If the Term::ReadKey manpage is installed it will be used.

$width = uni_length($string)
Get the width (in columns) of the specified string. When the Unicode::GCString manpage is installed this will work on unicode strings, otherwise it will just use length($string).


SOURCE

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


MAINTAINERS

Chad Granum


AUTHORS

Chad Granum <exodist@cpan.org>Chad Granum


COPYRIGHT

Copyright 2016 Chad Granum <exodist@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024