Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Persistent readline history with perldb

by mirod (Canon)
on Apr 13, 2011 at 06:07 UTC ( #899107=note: print w/replies, xml ) Need Help??


in reply to Persistent readline history with perldb

How about using the available option for a history file:

echo "&parse_options('HistFile=$HOME/.perldb.hist');" > $HOME/.perldb

Replies are listed 'Best First'.
Re^2: Persistent readline history with perldb
by LanX (Bishop) on Apr 13, 2011 at 09:55 UTC
    >How about using the available option for a history file:

    Thanks, seems to work even better! :)

    Pitty that it's not mentioned in perldebug

    At least rlwrap had the benefit to have the same interface like bash has...

    Cheers Rolf

    1) First impressions: well C-d doesn't work anymore for exiting and the line numbering now starts where I left last time.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://899107]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2018-05-27 14:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?