in reply to Object Suicide
If you want to have other references automatically become undefined, perhaps you can use Scalar::Utils weaken() method to convert them to weak references.
Perhaps easier is just to set the object to some state that signals it's not "relevant", or just remove if from the list.
|
---|