Sisyphus repository
Last update: 2017-12-14 05:05:59 +0300 | SRPMs: 18210 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 1.03-alt1
p8: 1.03-alt1
p7: 1.02-alt1
t7: 1.02-alt1
Platform6: 1.02-alt1
t6: 1.02-alt1

Other repositories
hide window
CPAN: 1.03

Group :: Development/Perl
Source RPM: perl-Class-Gomor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Current version: 1.03-alt1
Built: almost 3 years ago
Size: 15.6 KB
Repocop status: ok

Home page:   http://www.cpan.org

License: Artistic
Summary: another class and object builder
Description:

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, see below.

This class is the base class for Class::Gomor::Array and Class::Gomor::Hash, so they will inherite the following methods.

Current maintainer: CPAN Team

List of contributors: ACL: List of rpms provided by this srpm:
  • perl-Class-Gomor
Recent changes (last three changelog entries):

2015-01-19 Igor Vlasenko <viy at altlinux.ru> 1.03-alt1

    - automated CPAN update

2009-11-07 Denis Smirnov <mithraen at altlinux.ru> 1.02-alt1

    - initial build for ALT Linux Sisyphus

 
© 2009–2017 Igor Zubkov