slackbuilds/perl/perl-Class-Gomor
dsomero d0c108251a various: Update find command to match template.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2013-11-22 02:37:19 -05:00
..
README perl/*: Moved all of the Perl modules to here 2011-03-20 12:32:34 -05:00
perl-Class-Gomor.SlackBuild various: Update find command to match template. 2013-11-22 02:37:19 -05:00
perl-Class-Gomor.info Add REQUIRED field to .info files. 2012-08-19 21:57:51 -05:00
slack-desc various: Fix slack-desc formatting and comment nit picks. 2013-11-22 02:29:22 -05:00

README

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.