| Previous | Next
Term::ReadLineFrontend to other ReadLine packages. Currently interfaces to Term-ReadLine, which is available on CPAN. Defines the variables
$term = new Term::ReadLine 'name' Constructor. Returns the handle for subsequent calls to other ReadLine methods. Argument
$term->addhistory(line) Adds line to the input history.
$term->Features Returns a reference to a hash whose keys are features present in the current implementation and whose values are assigned to each feature. Several optional features are used in the minimal interface:
$term->findConsole Returns array of two strings containing the most appropriate names for input and output files, using the conventions
$term->MinLine([size]) With size argument, serves as a recommendation on minimal size of line to be added to history. Without an argument, does not add anything to the history. Returns the old value.
$term->ReadLine Returns the actual package that executes the commands. Some possible values are
$term->readline(prompt) Prompts for input line and gets the result. Removes trailing newline and returns |