Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Re: Re: Class::InsideOut - yet another riff on inside out objects.by John M. Dlugosz (Monsignor) |
on Dec 19, 2002 at 19:39 UTC ( [id://221223]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Meditations
|
|