Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 849f8f4da5406cdbe14a819d5af7d42e

perl-Object-InsideOut-3.810.0-1.mga1.noarch.rpm

Description:

This module provides comprehensive support for implementing classes using the
inside-out object model.

Using inside-out object model, objects are not a blessed hash reference, but
merely a blessed scalar. The foobar attribute, instead of being accessed via
$self->{foobar}, is accessed using a package lexical variable @foobar (common
for every object of the class) via $foobar[$$self].

Advantages of this OO scheme are:
1 - speed
2 - encapsulation
3 - compilation-time checks

Sources packages:

Other version of this rpm: