As per suggestion above, I have read up on Singleton. This proved to be very interesting reading indeed.
"The instance() method is used to create a new Class::Singleton instance, or return a reference to an existing instance. Using this method, it is only possible to have a single instance of the class in any system."
But it is not the solution to my situation. I want the object to exist in one instance per application within the system. Not one instance per system.
In reply to Re: Avoiding global object handle
by Biker
in thread Avoiding global object handle
by Biker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |