Roles. Like a nouvelle cuisine portion size slice of Moose
license: gnu-gpl-v2 OR artistic
install size: 34128
build date: 2019-01-29 18:58:27 +0000
package file: p5-Role-Tiny-2.000006nb1.tgz
package size: 14257
Role::Tiny is a minimalist role composition tool.
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.
Unlike Class::C3, where the last class inherited from "wins," role
composition is the other way around, where the class wins. If multiple
roles are applied in a single call (single with statement), then if any
of their provided methods clash, an exception is raised unless the class
provides a method since this conflict indicates a potential problem.
|lib/perl5/vendor_perl/5.28.0/Role/Tiny.pm||2017-11-07 18:03||20615 bytes|
|lib/perl5/vendor_perl/5.28.0/Role/Tiny/With.pm||2017-11-07 18:03||750 bytes|
|lib/perl5/vendor_perl/5.28.0/x86_64-linux-thread-multi/auto/Role/Tiny/.packlist||2019-01-29 11:58||207 bytes|
|lib/perl5/vendor_perl/man/man3/Role::Tiny.3||2019-01-29 11:58||9713 bytes|
|lib/perl5/vendor_perl/man/man3/Role::Tiny::With.3||2019-01-29 11:58||2843 bytes|