Now I'd like for instance use methods of first mentioned object instance in second mentioned object.If I understand what you're saying, it should work fine.
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....
$A->methodfoo($B); # methodfoo will call $_[1]->methodbar();
Could you post a cut-down example of your code that still exhibits the problem? Also, please remember to read Writeup Formatting Tips.
-David
In reply to Re: Calling methods of object instance A from object instance B
by erroneousBollock
in thread Calling methods of object instance A from object instance B
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |