[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#728942: ITP: libclass-std-storable-perl -- Support for creating serializable "inside-out" classes



Package: wnpp
Severity: wishlist
Owner: KURASHIKI Satoru <lurdan@gmail.com>

* Package name    : libclass-std-storable-perl
  Version         : 0.0.1
  Upstream Author : Luke Meyer <luke@daeron.com>
* URL             : https://metacpan.org/pod/Class::Std::Storable
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : Support for creating serializable "inside-out" classes

Class::Std introduced the "inside-out" model for classes (perldoc Class::Std
for details). Among its salient features is complete encapsulation; that is,
an object's data may only be accessed via its methods, unlike the usual
hashref model that permits direct access by any code whatsoever.
However, the drawback of complete encapsulation is that normal mechanisms
for serialization won't work, as they rely on direct access to an object's
attributes.

This class provides the class-building functionality from Class::Std, and
in addition provides an interface to allow Storable to freeze and thaw any
declared attributes of this class and any superclasses that were built via
Class::Std::Storable.


Reply to: