1Term::Complete(3pm)    Perl Programmers Reference Guide    Term::Complete(3pm)
2
3
4

NAME

6       Term::Complete - Perl word completion module
7

SYNOPSIS

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

DESCRIPTION

13       This routine provides word completion on the list of words in the array
14       (or array ref).
15
16       The tty driver is put into raw mode and restored using an operating
17       system specific command, in UNIX-like environments "stty".
18
19       The following command characters are defined:
20
21       <tab>
22           Attempts word completion.  Cannot be changed.
23
24       ^D  Prints completion list.  Defined by $Term::Complete::complete.
25
26       ^U  Erases the current input.  Defined by $Term::Complete::kill.
27
28       <del>, <bs>
29           Erases one character.  Defined by $Term::Complete::erase1 and
30           $Term::Complete::erase2.
31

DIAGNOSTICS

33       Bell sounds when word completion fails.
34

BUGS

36       The completion character <tab> cannot be changed.
37

AUTHOR

39       Wayne Thompson
40
41
42
43perl v5.30.2                      2020-03-27               Term::Complete(3pm)
Impressum