librole-tiny-perl 2.002004-ok2 source package in openKylin
Changelog
librole-tiny-perl (2.002004-ok2) yangtze; urgency=medium * Modify debian/control. -- zhangyichun <email address hidden> Thu, 15 Sep 2022 15:31:49 +0800
librole-tiny-perl (2.002004-ok2) yangtze; urgency=medium * Modify debian/control. -- zhangyichun <email address hidden> Thu, 15 Sep 2022 15:31:49 +0800
Series | Published | Component | Section | |
---|---|---|---|---|
Huanghe V3.0 | proposed | main | perl | |
Huanghe V3.0 | release | main | perl | |
Nile V2.0 | proposed | main | perl | |
Nile V2.0 | release | main | perl | |
Yangtze V1.0 | release | main | perl | |
Yangtze V1.0 | proposed | main | perl |
File | Size | SHA-256 Checksum |
---|---|---|
librole-tiny-perl_2.002004.orig.tar.gz | 35.8 KiB | 143745fa27a3ad00b84b76d605aaf26508590bac325c1829adf1224db3158c4e |
librole-tiny-perl_2.002004-ok2.debian.tar.xz | 8.3 KiB | 12a10e20d58dd2f8bcd681cdf218ca5fd88cac4ef275c43fb0a03c6366fc638f |
librole-tiny-perl_2.002004-ok2.dsc | 1.9 KiB | e57835903cd7275ca425a812624a985fbaad3526ee4fdb940e7b1a82cc8b4a05 |
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.