slackbuilds/perl/perl-Class-Gomor
B. Watson 0406bfe91c perl/perl-Class-Gomor: Wrap README at 72 columns.
Signed-off-by: B. Watson <yalhcru@gmail.com>
2022-03-14 03:55:22 -04:00
..
README perl/perl-Class-Gomor: Wrap README at 72 columns. 2022-03-14 03:55:22 -04:00
perl-Class-Gomor.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
perl-Class-Gomor.info perl/perl-Class-Gomor: Update download. 2018-05-27 11:10:52 +07:00
slack-desc perl/perl-Class-Gomor: Fix slack-desc. 2016-11-14 16:47:23 +07: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.