Name : perl-Class-Tiny
| |
Version : 1.008
| Vendor : obs://build_opensuse_org/devel:ALP
|
Release : 9.2
| Date : 2023-03-10 08:41:01
|
Group : Development/Libraries/Perl
| Source RPM : perl-Class-Tiny-1.008-9.2.src.rpm
|
Size : 0.05 MB
| |
Packager : (none)
| |
Summary : Minimalist class construction
|
Description :
This module offers a minimalist class construction kit in around 120 lines of code. Here is a list of features:
* defines attributes via import arguments
* generates read-write accessors
* supports lazy attribute defaults
* supports custom accessors
* superclass provides a standard \'new\' constructor
* \'new\' takes a hash reference or list of key/value pairs
* \'new\' supports providing \'BUILDARGS\' to customize constructor options
* \'new\' calls \'BUILD\' for each class from parent to child
* superclass provides a \'DESTROY\' method
* \'DESTROY\' calls \'DEMOLISH\' for each class from child to parent
Multiple-inheritance is possible, with superclass order determined via mro::get_linear_isa.
It uses no non-core modules for any recent Perl. On Perls older than v5.10 it requires MRO::Compat. On Perls older than v5.14, it requires Devel::GlobalDestruction.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/ALP/cross/noarch |