Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Term::Readline stopped working in perldebug

by erixoltan (Initiate)
on Dec 03, 2019 at 15:38 UTC ( [id://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 (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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-24 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found