in reply to Re: Catching an object going out of scope
in thread Catching an object going out of scope
Extending this, I would suggest that I can now put in my DESTROY function for the Temps, not only a delete $TEMPS{ $self->{ID} };, but also something that goes back to the factory class that that ID is gone, though this step isn't really necessary.
I believe that the only limitation here is that I couldn't have more than (whatever the maximum possible positive value is for an integer for perl & OS) iterators at the same time, but I very much that would be a problem.
-----------------------------------------------------
Dr. Michael K. Neylon - mneylon-pm@masemware.com
||
"You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important
|
|---|