Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > 85c500129fa2ba2a3c8ea40d8cdd8be8

perl-Object-InsideOut-4.20.0-3.mga6.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: