librole-tiny-perl 2.002004-1 source package in Ubuntu
Changelog
librole-tiny-perl (2.002004-1) unstable; urgency=medium * Import upstream version 2.002004. - restore requiring base class when using create_class_with_roles, which was accidentally lost in 2.002_000 (RT#134075) Closes: #980660 -- gregor herrmann <email address hidden> Sun, 24 Jan 2021 17:34:25 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
librole-tiny-perl_2.002004-1.dsc | 2.4 KiB | a8a62c10f614776b6e9133b59f9df68610c217a46cea63c168956b71aa340cb2 |
librole-tiny-perl_2.002004.orig.tar.gz | 35.1 KiB | d7bdee9e138a4f83aa52d0a981625644bda87ff16642dfa845dcb44d9a242b45 |
librole-tiny-perl_2.002004-1.debian.tar.xz | 3.6 KiB | 5ffe95082ef753a629fd63d521d42f61858c8fc42d8e8ea1e5b3f1aa2d8d6097 |
Available diffs
- diff from 2.001004-1 to 2.002004-1 (19.7 KiB)
- diff from 2.002003-1 to 2.002004-1 (1.5 KiB)
No changes file available.
Binary packages built by this source
- librole-tiny-perl: Perl module for minimalist role composition
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.