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 reply to Re^4: Class::InsideOut - yet another riff on inside out objects. by adrianh
in thread Class::InsideOut - yet another riff on inside out objects. by adrianh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":