|Don't ask to ask, just ask|
Calling methods of object instance A from object instance Bby Anonymous Monk
|on Nov 29, 2007 at 01:37 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
I'm writting home automation gateway for Linux MEdia Center application. I communicate with automation system via rs232 and have written separate object code for it...
On the other hand, I communicate with LMCE system via TCP socket (separate object code).
Majority of time I do poll of devices status on both interfaces. If any change occurs, then I have to send proper info also on another interface....
Now I'd like for instance use methods of first mentioned object instance in second mentioned object.
I tried simply by sending object A instance as parameter to method of object B and call method but it seems it doesn't work....
Any advice, example ?
Thanks in advance,