diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-03-16 01:18:10 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-20 12:32:34 -0500 |
commit | 93ba4df5022a8c4d422dd97a2a13ffa8a8946453 (patch) | |
tree | ea69c40d48150458e051a851cdf77e722c9118e2 /perl/perl-Class-Gomor/README | |
parent | 6a511b1c665a1f7efecadaa3447af889b1dcba58 (diff) | |
download | slackbuilds-93ba4df5022a8c4d422dd97a2a13ffa8a8946453.tar.gz |
perl/*: Moved all of the Perl modules to here
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Class-Gomor/README')
-rw-r--r-- | perl/perl-Class-Gomor/README | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/perl/perl-Class-Gomor/README b/perl/perl-Class-Gomor/README new file mode 100644 index 0000000000..ac25c4af7b --- /dev/null +++ b/perl/perl-Class-Gomor/README @@ -0,0 +1,14 @@ +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. |