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 reply to Re: May Thy Closures Be Blessed
by Abigail-II
in thread May Thy Closures Be Blessed
by hardburn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |