Term::TUI 1.20 review

Download
by rbytes.net on

Term::TUI is a simple tool for building text-based user interfaces. SYNOPSIS If TUI_Run is the only routine being used: use

License: Perl Artistic License
File size: 7K
Developer: Sullivan Beck
0 stars award from rbytes.net

Term::TUI is a simple tool for building text-based user interfaces.

SYNOPSIS

If TUI_Run is the only routine being used:
use Term::TUI;
$flag=&TUI_Run($command,%desc);

$version=&Term::TUI::TUI_Version;
If other TUI subroutines are used:
use Term::TUI qw(:all);
$flag=&TUI_Run($command,%desc);

&TUI_Out($message);

$flag=&TUI_Script(%desc,$script,$sep);

Many times, I've wanted to quickly write a nice text-based user interface around a set of perl routines only to end up writing the full (though simple) parser and interface to make it nice enough, and friendly enough, to be usable.

This module creates a simple but powerful text based user interface around perl routines, adding such features as command line history, command line editing, and online help (command completion will also be implemented), while hiding all details of the interface from the programmer.

The interface is described in a simple hash which is passed to the TUI_Run command. This routine exits only when the user has exited the program (returning a flag signalling any special exit conditions).

Requirements:
Perl

Term::TUI 1.20 search tags