SlackBuilds Repository

15.0 > Perl > perl-Class-Gomor (1.02)

Class::Gomor - another class and object builder

This module is yet another class builder. This one adds parameter
checking in new constructor, that is to check for attributes
existence, and definedness. In order to validate parameters, the
module needs to find attributes, and that is the reason for declaring
attributes in global variables named @AS, @AA, @AO. They respectively
state for Attributes Scalar, Attributes Array and Attributes
Other. The last one is used to avoid autocreation of accessors, that
is to let you declare your own ones.

Attribute validation is performed by looking at classes hierarchy, by
following @ISA tree inheritance.

The loss in speed by validating all attributes is quite negligeable
on a decent machine (Pentium IV, 2.4 GHz) with Perl 5.8.x. But if you
want to avoid checking, you can do it.

Maintained by: Marco Bonetti
Keywords: class builder
ChangeLog: perl-Class-Gomor


Source Downloads:
Class-Gomor-1.02.tar.gz (287c3b3be72fcb4a4089fe232b8b1002)

Download SlackBuild:
perl-Class-Gomor.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 15.0

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2023 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds