Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Access to single object from multiple other objects

by moritz (Cardinal)
on Oct 31, 2013 at 16:38 UTC ( #1060608=note: print w/ replies, xml ) Need Help??


in reply to Access to single object from multiple other objects

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.


Comment on Re: Access to single object from multiple other objects

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1060608]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-12-27 03:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls