![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: Calling methods of object instance A from object instance Bby erroneousBollock (Curate) |
on Nov 29, 2007 at 01:53 UTC ( #653742=note: print w/replies, xml ) | Need Help?? |
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. $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 Section
Seekers of Perl Wisdom
|
|