Term::ReadLine::Perl5::History
Variables and functions supporting Term::ReadLine::Perl5's command history. This pretends to be OO code even though it isn't. It makes use of global package variables and wraps that up as an object to pass to the corresponding OO routine.
The underlying OO routines are in Term::ReadLine::Perl5::OO::History.
add_line_to_history($line, $minlength)
Insert $line into history list if $line is:
bigger than the minimal length $minlength
not same as last entry
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.