Roles. Like a nouvelle cuisine portion size slice of Moose
license: gnu-gpl-v2 OR artistic
install size: 33732
build date: 2017-11-11 11:58:26 +0000
package file: p5-Role-Tiny-2.000005nb1.tgz
package size: 14138
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.26.0/Role/Tiny.pm||2016-11-01 08:10||20391 bytes|
|lib/perl5/vendor_perl/5.26.0/Role/Tiny/With.pm||2016-11-01 08:10||750 bytes|
|lib/perl5/vendor_perl/5.26.0/x86_64-linux-thread-multi/auto/Role/Tiny/.packlist||2017-11-11 04:58||207 bytes|
|lib/perl5/vendor_perl/man/man3/Role::Tiny.3||2017-11-11 04:58||9627 bytes|
|lib/perl5/vendor_perl/man/man3/Role::Tiny::With.3||2017-11-11 04:58||2757 bytes|