Thanks (was -> Re: Reading input and Word completion)

2004-09-13 Thread Manish
Hi Chris, Thanks for pointing out the case! The page I was looling at documented this as lowercase "complete". However I see that some other manpages have the correct version - "Complete". Fixing the case does the job. Thanks much for pointing this out. best regards, manish --- Chris Devers

Re: Reading input and Word completion

2004-09-13 Thread Chris Devers
On Tue, 14 Sep 2004, Remo Sanges wrote: > On Sep 14, 2004, at 12:15 AM, Manish wrote: > > > follow what it says I get the following error: > > > > Undefined subroutine &main::complete called at try.pl > > line 14. > > > > Any pointers to docs are appreciated. > > Never used this module, but wh

Re: Reading input and Word completion

2004-09-13 Thread Remo Sanges
On Sep 14, 2004, at 12:15 AM, Manish wrote: follow what it says I get the following error: Undefined subroutine &main::complete called at try.pl line 14. Any pointers to docs are appreciated. Never used this module, but when I get this kind of error is because I haven't load functions in the 'rigth

RE: Reading input and Word completion

2004-09-13 Thread Chris Devers
On Mon, 13 Sep 2004, Manish wrote: > Thanks for the response. Perhaps someone can point me > to "docs for Term::Complete". I looked at > http://www.perl.com/doc/manual/html/lib/Term/Complete.html > but it wasn't helpful :( It's very brief and when I > follow what it says I get the following err

RE: Reading input and Word completion

2004-09-13 Thread Manish
Hi Bob, Thanks for the response. Perhaps someone can point me to "docs for Term::Complete". I looked at http://www.perl.com/doc/manual/html/lib/Term/Complete.html but it wasn't helpful :( It's very brief and when I follow what it says I get the following error: Undefined subroutine &main::com

RE: Reading input and Word completion

2004-09-13 Thread Bob Showalter
Manish wrote: > Hi, > > I was wondering if this is the wrong list for this. Or is the > description too vague? Your example doesn't show evidence that you've read the docs for Term::Complete. Start there. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: Reading input and Word completion

2004-09-13 Thread Manish
Hi, I was wondering if this is the wrong list for this. Or is the description too vague? Any help is appreciated. thanks, manish Manish <[EMAIL PROTECTED]> wrote: Hi, I'm new to perl and I'm trying to write a simple program that will take commands from user. I would like to provide comman

Reading input and Word completion

2004-09-10 Thread Manish
Hi, I'm new to perl and I'm trying to write a simple program that will take commands from user. I would like to provide command completion. Currently I have: use Term::ReadLine; use Term::Complete; while (true) { $mainTerm = Term::ReadLine->new("Top Level"); $OUT = $mainTerm->OUT ||