in reply to
Calling methods of object instance A from object instance B
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....
If I understand what you're saying, it should work fine.
$A->methodfoo($B); # methodfoo will call $_->methodbar();
Could you post a cut-down example of your code that still exhibits the problem? Also, please remember to read Writeup Formatting Tips.