Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Re: Re: Class::InsideOut - yet another riff on inside out objects.
by John M. Dlugosz
|
|