Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Access to single object from multiple other objects

by moritz (Cardinal)
on Oct 31, 2013 at 16:38 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1060608]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found