p5-Role-Tiny

minimalist role composition tool

WWW CVSWeb GITHub
  1. Package version
    p5-Role-Tiny-2.002004
  2. Maintainer
    The OpenBSD ports mailing-list

Role composition can be thought of as much more clever and meaningful
multiple inheritance. The basics of this implementation of roles is:
- If a method is already defined on a class, that method will not be
composed in from the role.
- If a method that the role "requires" to be implemented is not
implemented, role application will fail loudly.