in reply to Re^2: May Thy Closures Be Blessed
in thread May Thy Closures Be Blessed
They do need to co-operate over DESTROY.Yes, but not more than any other form of inheritance does. If you subclass a class, and define a DESTROY method in your subclass, without calling DESTROY in the superclass, things are likely to break. Your DESTROY method should always contain something like (for single inheritance):
regardless whether you use Inside-Out objects or not.$self -> SUPER::DESTROY if $ISA [0] -> can ("DESTROY");
Abigail
In Section
Meditations