The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Term::ReadLine::Perl5::History

DESCRIPTION

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.

SUBROUTINES

add_line_to_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