The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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