development/libraries

perl-Class-Tiny - Minimalist class construction

Website: https://metacpan.org/release/Class-Tiny
License: ASL 2.0
Vendor: city-fan.org repo http://www.city-fan.org/ftp/contrib/
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.

Packages

perl-Class-Tiny-1.006-1.fc17.noarch [27 KiB] Changelog by Paul Howarth (2016-09-12):
- Update to 1.006
  - Optimize generated accessors (5% to 25% faster depending on combination
    of read vs. write and default vs. no-default)

Listing created by Repoview-0.6.6-13.fc29