Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re:Can't use up/down arrow for history in cpan shell

by stevieb (Canon)
on May 20, 2016 at 20:33 UTC ( [id://1163682]=note: print w/replies, xml ) Need Help??


in reply to Can't use up/down arrow for history in cpan shell

Welcome to the Monastery, TSN!

I found the following in an answer over on a StackOverflow question. I *have* tested it.

"By default the only Term::ReadLine handler you get is Term::ReadLine::Perl which is quite simple and doesn't understand things like arrow keys. You probably want to install Term::ReadLine::Gnu."

update: I can now confirm the default doesn't work, but after installing the Gnu module, it works dandy. /update

  • Comment on Re:Can't use up/down arrow for history in cpan shell

Replies are listed 'Best First'.
Re^2: Can't use up/down arrow for history in cpan shell
by TSN (Acolyte) on May 20, 2016 at 21:24 UTC
    Thank you very much stevieb!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-20 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found