in reply to Attempt to uninherit method
Have you thought about having a class factory (separate from an object factory)? You can indicate which methods are (and are not) applicable to a given subclass and let the factory figure out which methods to install based on class hierarchies. The factory code wouldn't be too hard to write - Class::MOP gives you a ton of introspection methods that simplify this kind of code to an iterator (provided for you) and a hash of method names.
|
|---|