From 0df2223739afb94232fe1c37ac2367213d6a38b6 Mon Sep 17 00:00:00 2001 From: Marco Bonetti Date: Thu, 13 May 2010 00:57:58 +0200 Subject: development/perl-Class-Gomor: Added to 13.0 repository --- development/perl-Class-Gomor/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 development/perl-Class-Gomor/README (limited to 'development/perl-Class-Gomor/README') diff --git a/development/perl-Class-Gomor/README b/development/perl-Class-Gomor/README new file mode 100644 index 0000000000..ac25c4af7b --- /dev/null +++ b/development/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. -- cgit v1.2.3