1Term::Complete(3pm) Perl Programmers Reference Guide Term::Complete(3pm)
2
3
4
6 Term::Complete - Perl word completion module
7
9 $input = Complete('prompt_string', \@completion_list);
10 $input = Complete('prompt_string', @completion_list);
11
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
33 Bell sounds when word completion fails.
34
36 The completion character <tab> cannot be changed.
37
39 Wayne Thompson
40
41
42
43perl v5.12.4 2011-06-01 Term::Complete(3pm)