[MTOS-dev] scorabe MT::Category
Jay Allen
jay at endevver.com
Thu May 8 11:44:59 PDT 2008
On May 4, 2008, at 12:07 PM, Timothy Appnel wrote:
> Rather then force (mulitple -- blech!) inheritance to enable an
> object, the inherited methods could be converted to mix ins that get
> dynamically added (see Sub::Install) when a object class first loads
> and sees that it is flagged as taggable/scorable. This way any plugin
> could make an object taggable/scorable in order to achieve its
> intended functionality without the core having granted such ability.
Two questions:
1) Isn't Sub::Install a massive hack or am I misremembering some
discussion about another module with similar functionality?
2) Is there a preferred OO method of achieving dynamic multiple
inheritance in Perl (where it CAN but need not (for everyone) inherit
from other classes) without using Sub::Install?
--
Jay Allen
Endevver Consulting
415-200-6985
More information about the MTOS-dev
mailing list