help-gift
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-GIFT] libGIFTAcPerl


From: Wolfgang Mueller
Subject: Re: [help-GIFT] libGIFTAcPerl
Date: Tue, 3 Dec 2002 09:20:15 +0100
User-agent: KMail/1.4.1

Hi,
Thank you very much for having gone into all this. I find it quite weird that 
Perl changed so much. In any case this calls for a "make test" target :-(
Cheers,
Wolfgang

PS:
> ...
> I am going to call the perl function CGIFTLink::setAlgorithm
> Can't call method "setAlgorithm" on an undefined value at
> /home/pruet/public_html/gift-embed-perl-modules.pl line 50.
> ...
>
> It means that the caller function didn't pass any argument into the
> functions inherit from CGIFTLink class, which are defined in
> gift-embed-perl-modules.pl  .
>
I do not fully agree. For me that means that the reference you're calling is 
void. So you gift-embed-perl-modules.pl is either doing something like

$ref->setAlgorithm(...)

and $ref is undefined, or it's doing

setAlgorithm(...) instead of $ref->setAlgorithm(). 

At my place gift-embed-perl-modules.pl does nothing but 

#
# This file was automatically generated
# by the GNU Image-Finding Tool (GIFT).
#
# It should contain 'use' instructions for ALL modules
# you want to use from within the GIFT.
#
# You also have to add 'use lib' instructions where
# necessary
#
use lib '/home/kde3/3.1/GIFTInstall/bin';

use CGIFTLink;

(EOF)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]