Term::Complete(3pm)
πΈ NAME πΈ
okay so bestie, this is Term::Complete(3pm) β yes, from the Perl Programmers Reference Guide, periodt β and its official NAME vibe is literally Perl word completion module. That's the whole main character energy: it does word completion for you. πβ¨
β¨ SYNOPSIS β¨
Two ways to call it, bestie:
$input = Complete('prompt_string', \@completion_list);
$input = Complete('prompt_string', @completion_list);
π DESCRIPTION π
okay so 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 that command is stty. π
The following command characters are defined:
<tab>β attempts word completion. Cannot be changed. π^Dβ prints the 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::erase1and$Term::Complete::erase2. βοΈ
π¨ DIAGNOSTICS π¨
The bell sounds when word completion fails. ππ
π BUGS π
The completion character <tab> cannot be changed. No cap, that's the bug note. π
π AUTHOR π
Wayne Thompson. πβ¨
π cute little sign-off: this page isTerm::Complete(3pm)fromperl v5.42.3, dated2026-11-03. Bye bestie, go complete some words π π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms