Name : perl-Class-Gomor-Hash
| |
Version : 0.22
| Vendor : Mandriva
|
Release : 4mdv2010.1
| Date : 2009-12-07 22:06:48
|
Group : Development/Perl
| Source RPM : perl-Class-Gomor-Hash-0.22-4mdv2010.1.src.rpm
|
Size : 0.01 MB
| |
Packager : Guillaume Rousse < guillomovitch_mandriva_org>
| |
Summary : Class::Gomor::Hash - class and object builder, hash version
|
Description :
This module is yet another class builder. This one adds parameter checking in constructor, that is to check for attributes existence, and definedness. Since objects are built as hashes, this module is suffixed by Hash. In order to validate parameters, the module needs to find attributes, and that is the reason for declaring attributes in global variable names AATTAS, AATTAA, AATTAO. They respectively state for Attribute Scalar, Attribute Array and Attribute Other. The last one is used to avoid autocreation of accessors, that is you put in your own ones. Attribute validation is performed by looking at classes hierarchy, by following AATTISA tree inheritance. The loss in speed by validating all attributes is quite negligeable on a decent machine (Pentium IV, 2.4 GHz), and with Perl 5.8.x.
|
RPM found in directory: /vol/rzm6/linux-mandriva/devel/cooker/sparcv9/media/contrib/release |