Term::ReadLine::Perl5::Common
A non-OO package which contains commmon routines for the OO (Term::ReadLine::Perl5::OO and non-OO Term::ReadLine::Perl5::readline routines of Term::ReadLine::Common
Ring the bell.
Should do something with $var_PreferVisibleBel here, but what?
ctrl($ord)
Returns the ordinal number for the corresponding control code.
For example ctrl(ord('a')) returns the ordinal for Ctrl-A or 1. ctrl(ord('A')) does the same thing.
rl_tilde_expand($prefix) => list of usernames
Returns a list of completions that begin with the given prefix, $prefix. This only works if we have getpwent() available.
unescape($string) -> List of keys
This internal function that takes $string possibly containing escape sequences, and converts to a series of octal keys.
It has special rules for dealing with readline-specific escape-sequence commands.
New-style key bindings are enclosed in double-quotes. Characters are taken verbatim except the special cases:
\C-x Control x (for any x) \M-x Meta x (for any x) \e Escape \* Set the keymap default (JP: added this) (must be the last character of the sequence) \x x (unless it fits the above pattern)
Special case "\C-\M-x", should be treated like "\M-\C-x".
To install Term::ReadLine::Perl5, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Term::ReadLine::Perl5
CPAN shell
perl -MCPAN -e shell install Term::ReadLine::Perl5
For more information on module installation, please visit the detailed CPAN module installation guide.