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 <[EMAIL PROTECTED]> wrote: > 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> > > > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>