Re: Reading input and Word completion
From: Chris Devers (cdevers_at_pobox.com)
Date: 09/14/04
- Next message: James D. Parra: "RE: bundle install fails"
- Previous message: Remo Sanges: "Re: Reading input and Word completion"
- In reply to: Remo Sanges: "Re: Reading input and Word completion"
- Next in thread: Manish: "Thanks (was -> Re: Reading input and Word completion)"
- Reply: Manish: "Thanks (was -> Re: Reading input and Word completion)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Sep 2004 18:29:58 -0400 (EDT) To: Remo Sanges <sanges@biogem.it>
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 when I get this kind of
> error is because I haven't load functions in the 'rigth' way...
>
> Try to use this syntax when you load the module:
>
> use Term::Complete qw(complete);
Looking over the available documentation, it seems that Term::Complete
exports exactly one function: "Complete([prompt], [@completion_list)".
Therefore, there shouldn't be any need to specify the function that is
being imported, as there is only one function to import.
That that, it seems, could be the problem: the function provides
"Complete", with a capital "C". This error refers to "complete", with a
lowercase "c". Fixing the case may resolve the problem.
-- Chris Devers
- Next message: James D. Parra: "RE: bundle install fails"
- Previous message: Remo Sanges: "Re: Reading input and Word completion"
- In reply to: Remo Sanges: "Re: Reading input and Word completion"
- Next in thread: Manish: "Thanks (was -> Re: Reading input and Word completion)"
- Reply: Manish: "Thanks (was -> Re: Reading input and Word completion)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|