librole-tiny-perl 2.001004-ok1 source package in openKylin
Changelog
librole-tiny-perl (2.001004-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
librole-tiny-perl (2.001004-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
librole-tiny-perl_2.001004.orig.tar.gz | 30.8 KiB | 92ba5712850a74102c93c942eb6e7f62f7a4f8f483734ed289d08b324c281687 |
librole-tiny-perl_2.001004-ok1.debian.tar.xz | 2.2 KiB | 5ccddf3284b341171fe7ee99489d411cd3ab78a1d93fced9a0c5e8ac80267bef |
librole-tiny-perl_2.001004-ok1.dsc | 2.0 KiB | 50d9679fef391d7bed4ec131b8cb23771f8931e901697aed0c4aaec95837c124 |
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.