in reply to Re^2: Class::InsideOut - yet another riff on inside out objects.
in thread Class::InsideOut - yet another riff on inside out objects.
You don't want to just look at $Values{$class}, since you need to destroy inherited attributes too.
Isn't that going to be done by that class's DESTROY method? That is, the "next" call will do it.
So the DESTROY method deletes all instances of a particular object in all classes.
I see, that won't wipe out everything, just all the attributes of that object since instance keys are unique.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Class::InsideOut - yet another riff on inside out objects.
by adrianh (Chancellor) on Dec 19, 2002 at 19:45 UTC | |
by John M. Dlugosz (Monsignor) on Dec 19, 2002 at 19:55 UTC | |
by adrianh (Chancellor) on Dec 19, 2002 at 20:35 UTC |
In Section
Meditations