-
-
13 Jul 2011 15:42:47 UTC
- Distribution: Term-Complete
- Module version: 1.402
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (942 / 32 / 0)
- Kwalitee
Bus factor: 5- 63.96% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (11.47KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 2 contributors- Wayne Thompson
- The Perl 5 Porters
- Dependencies
- none
- Reverse dependencies
- CPAN Testers List
- Dependency graph
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:
- <tab>
-
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.
- <del>, <bs>
-
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
Module Install Instructions
To install Term::Complete, copy and paste the appropriate command in to your terminal.
cpanm Term::Complete
perl -MCPAN -e shell install Term::Complete
For more information on module installation, please visit the detailed CPAN module installation guide.