Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > ea42fbfd67e3e7c138909c00d0d6e313

perl-Object-InsideOut-3.810.0-1.mga1.src.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

Generated packages:

Other version of this rpm: