Introducing Term::TablePrint

Term::TablePrint (its function print_table) prints a table or the selected columns of the table to STDOUT.

print_table provides a cursor which highlights the row on which it is located. The user can scroll through the table with the different cursor keys.

If the table has more rows than the terminal the table is divided up on as many pages as needed automatically. Also if the terminal is too narrow to print the table the columns are adjusted to the available width automatically.

1 Comment

Do you know about PrePAN.org? That would have been a good place to ask about the name and design of your module before publishing it.

The name of the module is in fact misleading (in fact I started to write a rant about your module limiting its output to STDOUT, but after a look at the doc I changed my mind) because your module shows a table and let the user interactively browse it.

Leave a comment

About kuerbis

user-pic I blog about Perl.