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

Re: better readline?

Thread Previous | Thread Next
Chas. Owens
August 6, 2009 08:22
Re: better readline?
Message ID:
On Thu, Aug 6, 2009 at 11:14, Bryan R Harris<> wrote:
> 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.

I didn't see it in the docs either, I just guessed that it would work
and it did.

> 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?

Some backends do use a file to store the history between runs, and,
yes, progname is used for that purpose.

Chas. Owens
The most important skill a programmer can have is the ability to read.

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