Re: Reading input and Word completion

From: Chris Devers (cdevers_at_pobox.com)
Date: 09/14/04


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


Relevant Pages

  • MSN Messenger disconnect
    ... automatically reconnecting. ... Any pointers on where I can look to try to resolve this problem. ... Have searched Google and this newsgroup and found lots of references to ...
    (microsoft.public.windowsxp.messenger)
  • docview rundig db.wordlist
    ... After installing the operating system I try to run ... Any pointers on how to resolve this and complete the indexing is ...
    (comp.unix.sco.misc)
  • Re: Video identification algorithm
    ... > IS THERE ANY KNOWN ALGORITHM WHICH I CAN USE TO RESOLVE THIS PROBLEM? ... > ANY HELP OR POINTERS WOULD BE APPRECIATED ... Why are you shouting? ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Pointer to function gives illegal operation (MSC6)
    ... Rob Mitchell spoke thus: ... > thus recognized it right away and give pointers on how to resolve it. ... To add to Mike's always-salient comments, you may find one or more of ...
    (comp.lang.c)