All of Class::Role, Class::Roles, and Class::Trait provide a better way to mark a class as providing a specific interface than multiple inheritance, even from an abstract base class.
Edit g0n - corrected Class::Trait from Class::Traits
In reply to Re^4: "polymorphism" hack: nuts or wise?
by chromatic
in thread "polymorphism" hack: nuts or wise?
by rvosa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |