Problems? Is your data what you think it is? | |
PerlMonks |
Re: Access to single object from multiple other objectsby moritz (Cardinal) |
on Oct 31, 2013 at 16:38 UTC ( [id://1060608]=note: print w/replies, xml ) | Need Help?? |
I agree with Anonymous Monk. Pass it as an argument. If you think that is absolutely not acceptable, you could use a global variable, which you then localize when you need a different one. But sooner or later it is going to byte you.
In Section
Seekers of Perl Wisdom
|
|