Thanks (was -> Re: Reading input and Word completion)
From: Manish (manishg_ldap_ml_at_yahoo.com)
Date: 09/14/04
- Next message: po: "Re: Modifying @INC"
- Previous message: U235sentinel: "Re: perl_mod"
- In reply to: Chris Devers: "Re: Reading input and Word completion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Sep 2004 16:14:47 -0700 (PDT) To: beginners@perl.org, Remo Sanges <sanges@biogem.it>
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 <cdevers@pobox.com> 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],
> [@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
>
> --
> To unsubscribe, e-mail:
> beginners-unsubscribe@perl.org
> For additional commands, e-mail:
> beginners-help@perl.org
> <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
- Next message: po: "Re: Modifying @INC"
- Previous message: U235sentinel: "Re: perl_mod"
- In reply to: Chris Devers: "Re: Reading input and Word completion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|