GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Term::Table::Util(3) User Contributed Perl Documentation Term::Table::Util(3)

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

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

$bool = USE_GCS
True if Unicode::GCString is installed.
$bool = USE_TERM_READKEY
True if Term::ReadKey is installed.

$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 Term::ReadKey is installed it will be used.

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

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

Chad Granum <exodist@cpan.org>

Chad Granum <exodist@cpan.org>

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/

2022-01-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.