[Top][All Lists]

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

Re: [help-GIFT] libGIFTAcPerl

From: Pruet Boonma
Subject: Re: [help-GIFT] libGIFTAcPerl
Date: Tue, 03 Dec 2002 15:42:18 +0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130


Wolfgang Mueller wrote:
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 :-(


I am going to call the perl function CGIFTLink::setAlgorithm
Can't call method "setAlgorithm" on an undefined value at
/home/pruet/public_html/ line 50.

It means that the caller function didn't pass any argument into the
functions inherit from CGIFTLink class, which are defined in  .

I do not fully agree. For me that means that the reference you're calling is void. So you is either doing something like

Nope, I do nothing. Just copy to and the function is written like this,
sub setAlgorithm( ; ){
So the perl function isn't called with appropriate argument, I think.


and $ref is undefined, or it's doing

setAlgorithm(...) instead of $ref->setAlgorithm(). At my place 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;


Yes, it's the easiest way. But if I wanna write the plugin, I have to write those function calls, and it will not work. So what should I do ?



help-GIFT mailing list

Pruet Boonma
Department of Computer Engineering, Chiang Mai University

"Think twice before attaching M$-word, M$-excel, M$-powerpoint"

reply via email to

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