Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Term::Complete

Name Term::Complete
Version 1.403
Located at /usr/share/perl5
File /usr/share/perl5/Term/Complete.pm
Is Core Yes
Search CPAN for this module Term::Complete
Documentation Term::Complete
Module Details Term::Complete

NAME

Term::Complete - Perl word completion module


SYNOPSIS

    $input = Complete('prompt_string', \@completion_list);
    $input = Complete('prompt_string', @completion_list);


DESCRIPTION

This routine provides word completion on the list of words in the array (or array ref).

The tty driver is put into raw mode and restored using an operating system specific command, in UNIX-like environments stty.

The following command characters are defined:


Attempts word completion. Cannot be changed.

^D
Prints completion list. Defined by $Term::Complete::complete.

^U
Erases the current input. Defined by $Term::Complete::kill.

,
Erases one character. Defined by $Term::Complete::erase1 and $Term::Complete::erase2.


DIAGNOSTICS

Bell sounds when word completion fails.


BUGS

The completion character <tab> cannot be changed.


AUTHOR

Wayne Thompson

Perl Diver brought to you by ScriptSolutions.com © 1997- 2024