go ahead... be a heretic | |
PerlMonks |
Re^4: Class::InsideOut - yet another riff on inside out objects.by adrianh (Chancellor) |
on Dec 19, 2002 at 19:45 UTC ( [id://221226]=note: print w/replies, xml ) | Need Help?? |
Isn't that going to be done by that class's DESTROY method? That is, the "next" call will do it. No. The NEXT is there in case we have inherited from another non-inside-out class that has its own DESTROY method. The idea is that all of the sub-classes of Class::InsideOut can now avoid writing custom DESTROY methods since the base-class handles it for them. Hopefully this makes some vague sort of sense :-)
In Section
Meditations
|
|