librole-tiny-perl 2.002004-ok1 source package in openKylin
Changelog
librole-tiny-perl (2.002004-ok1) yangtze; urgency=medium * Build for openkylin. -- zhangyichun <email address hidden> Thu, 18 Aug 2022 15:17:00 +0800
librole-tiny-perl (2.002004-ok1) yangtze; urgency=medium * Build for openkylin. -- zhangyichun <email address hidden> Thu, 18 Aug 2022 15:17:00 +0800
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
librole-tiny-perl_2.002004.orig.tar.gz | 35.8 KiB | 143745fa27a3ad00b84b76d605aaf26508590bac325c1829adf1224db3158c4e |
librole-tiny-perl_2.002004-ok1.debian.tar.xz | 8.2 KiB | f65a11080a0045c44ac77c9003f728b6fe86a744cc7040742908533d45ebcf69 |
librole-tiny-perl_2.002004-ok1.dsc | 1.9 KiB | 8045419878d796c2462b63a82a0d0fe230b2bfd7ec0f9f94eb458fb0df0e4204 |
Role::Tiny is a Perl module to do minimalist role composition. 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 first wins. In a more complete system (see
Moose) roles are checked to see if they clash. The goal of this is to be much
simpler, hence disallowing composition of multiple roles at once.