Hello list,
thanks to Arne and Volker for your replies.
 
With Arne's hint (see below) i was able to get my first success :-) in otrs development.
 
Have a nice day
Thorsten Müller


Von: Bernhardt, Arne [mailto:Arne.Bernhardt@ikado.de]
Gesendet: Montag, 26. Juni 2006 15:35
An: Thorsten Mueller
Betreff: Re: AW: [dev] Perl Interface

Hello Thorsten,

 

try to replace "$Self" by " $CommonObject".

 

The file "GenericAgent.pl" is no module or class. It contains just the function "BEGIN", where like a local variable called $CommonObject is filled with some otrs objects.

 

Most of the other otrs files contains real modules/classes where also $Self is a self defined class variable, but in perl classes it is standard that $Self is "blessed" as an object pointer to the current class.

 

In most of the otrs modules $Self contains already a lot of otrs objects like in GenericAgent.pl $CommonObject does. But the manual is of course written for the most common object oriented otrs modules.

 

If I am wrong in any point, please let me know.

 

I am currently not able to mail to the mailing-list, I don´t actually know why.

 

Greetings

 

Arne

 

Arne Bernhardt
ikado GmbH
Auf der Hüls 198
D-52068 Aachen
Tel +49 (0) 241 - 18294-43
Fax +49 (0) 241 - 18294-40
Mail: Arne.Bernhardt@ikado.de
Web: http://www.ikado.de


This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.