erixoltan has asked for the wisdom of the Perl Monks concerning the following question:

I use perldebug a lot. I installed Term::Readline in order to get command line recall. It worked at first but now it doesn't.

When I use arrow keys to recall previous lines, it looks like this:

  DB<1> ^[[A^[[A^[[A

I tried upgrading and I tried forcibly reinstalling Term::ReadLine in cpan, to no avail. Does anyone know how I can reacquaint perldebug with command-line recall?

Replies are listed 'Best First'.
Re: Term::Readline stopped working in perldebug
by LanX (Saint) on Dec 03, 2019 at 15:41 UTC
    most likely cause for such "suddenly stopping to work" is that you changed your Perl environment.

    For instance: Do you use perlbrew?

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

      I solved this in cpan by installing Term::ReadLine::Perl

      Now it works, problem solved.