Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Term::Readline stopped working in perldebug

by erixoltan (Initiate)
on Dec 03, 2019 at 15:38 UTC ( #11109599=perlquestion: print w/replies, xml ) Need Help??

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 (Archbishop) 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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11109599]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2020-02-23 02:54 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (102 votes). Check out past polls.