I whipped up a proof of concept at Class::FlyweightWrapper. Take a look at how that works then look at the root node of this thread. I believe that if GMS::MemberFile was made into a wrapper around a private implementation through my new module, then DESTROY would work as desired. Sure, you can find situations where it would break, but it is at least a solution to the problem at hand.
In reply to Re (tilly) 9: Tie & Destroy, OOP
by tilly
in thread Tie & Destroy, OOP
by Flame
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |