Term::Prompt 1.03 review

Download
by rbytes.net on

Term::Prompt is a Perl extension for prompting a user for information. SYNOPSIS use Term::Prompt; $value = &prompt(...

License: Perl Artistic License
File size: 10K
Developer: Matthew O. Persico
0 stars award from rbytes.net

Term::Prompt is a Perl extension for prompting a user for information.

SYNOPSIS

use Term::Prompt;
$value = &prompt(...);

use Term::Prompt qw(termwrap);
print &termwrap(...);

$Term::Prompt::MULTILINE_INDENT = '';

PREREQUISITES

You must have Text::Wrap and Term::ReadKey available on your system.

This main function of this module is to accept interactive input. You specify the type of inputs allowed, a prompt, help text and defaults and it will deal with the user interface, (and the user!), by displaying the prompt, showing the default, and checking to be sure that the response is one of the legal choices. Additional "types" that could be added would be a phone type, a social security type, a generic numeric pattern type...

Term::Prompt 1.03 keywords