![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Access to single object from multiple other objectsby elTriberium (Friar) |
on Oct 31, 2013 at 19:55 UTC ( #1060631=note: print w/replies, xml ) | Need Help?? |
Thanks everyone for the suggestions! Looks like passing it to the objects as an argument is the preffered solution. My only issue with that is that I have a relatively large object hierarchy, with something similar to the following objects:
So now if E needs access to the config module I'll have to pass it all the way down.
In Section
Seekers of Perl Wisdom
|
|