Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-08-15 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (161 votes). Check out past polls.

    Notices?