develooper Front page | perl.beginners | Postings from August 2009

Re: better readline?

Thread Previous | Thread Next
Bryan R Harris
August 6, 2009 08:14
Re: better readline?
Message ID:

> On Wed, Aug 5, 2009 at 14:52, Bryan R Harris<>
> wrote:
> snip
>> I didn't change anything, actually -- it never printed the "8/2 Updated
>> database" string.  It prompted with the "Enter a date and note:", I typed
>> "Uh." and that was it.  Maybe my version of perl doesn't have a good
>> Term::Readline::Perl?  How do I find out?  I'm on OS X 10.5, which is still
>> at perl 5.8.8.
> snip
> Hmm, it looks like Term::ReadLine::Perl needs to be installed.  You
> can get it on CPAN:

That works now, mostly.
I've read everything I can find on it, but can't find documentation of the
main feature I'm interested in, i.e. pre-loading the buffer with text.  It
works, I just don't see it documented.
Also, is addHistory() supposed to retain history *between* runs?  i.e. store
it in a file somewhere?  If not, what's the "progname" part for?

Thanks!  Neat stuff.
- Bryan

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About