- Name: perl-Class-Tiny
- Version: 0.11.0
- Release: 2.mga4
- Epoch:
- Group: Development/Perl
- License: ASL 2.0
- Url: http://search.cpan.org/dist/Class-Tiny
- Summary: Minimalist class construction
- Architecture: noarch
- Size: 52115
- Distribution: Mageia
- Vendor: Mageia.Org
- Packager: umeabot <umeabot>
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" has heuristics to catch constructor attribute typos
* "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
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.
- OptFlags: -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables
- Cookie: jonund.mageia.org 1382351187
- Buildhost: jonund.mageia.org