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], [EMAIL PROTECTED])".

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

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to