http://www.perlmonks.org?node_id=221226


in reply to Re: Re: Re: Class::InsideOut - yet another riff on inside out objects.
in thread Class::InsideOut - yet another riff on inside out objects.

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 :-)