libclass-std-storable-perl_0.0.1-1_all.deb


Advertisement

Description

libclass-std-storable-perl - Support for creating serializable "inside-out" classes

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libclass-std-storable-perl
Package version 0.0.1
Package release 1
Package architecture all
Package type deb
Installed size 24 B
Download size 13.96 KB
Official Mirror ftp.br.debian.org
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.
However, in order to let Storable save attributes and construct the object,
it is necessary to expose the attributes of the class to the world. Thus, any
code could use the same interface that Storable does to get a copy of object
attributes and create new objects with arbitrary attributes without going
through the constructor. While the interface CAN'T be used to replace the
existing attributes of an object, it COULD be used to create an arbitrarily
mutated clone of an object without going through its methods. Also, if
attributes are themselves references, then the objects to which they refer
can be obtained and modified.

Alternatives

Package Version Architecture Repository
libclass-std-storable-perl_0.0.1-1_all.deb 0.0.1 all Debian Main
libclass-std-storable-perl - - -

Requires

Name Value
libclass-std-perl >= 0.0.4
perl -

Download

Type URL
Binary Package libclass-std-storable-perl_0.0.1-1_all.deb
Source Package libclass-std-storable-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libclass-std-storable-perl deb package:
    # sudo apt-get install libclass-std-storable-perl

Files

Path
/usr/share/doc/libclass-std-storable-perl/changelog.Debian.gz
/usr/share/doc/libclass-std-storable-perl/changelog.gz
/usr/share/doc/libclass-std-storable-perl/copyright
/usr/share/man/man3/Class::Std::Storable.3pm.gz
/usr/share/perl5/Class/Std/Storable.pm

Changelog

2013-11-06 - KURASHIKI Satoru <lurdan@gmail.com>
libclass-std-storable-perl (0.0.1-1) unstable; urgency=low
* Initial Release. (Closes: #728942)

See Also

Package Description
libclass-std-utils-perl_0.0.3-1_all.deb Utility subroutines for building "inside-out" objects
libclass-throwable-perl_0.10-2_all.deb A minimal lightweight exception class
libclass-tiny-perl_1.000-1_all.deb minimalist class construction module for Perl
libclass-trait-perl_0.31-4_all.deb Implementation of Traits in Perl
libclass-trigger-perl_0.14-1_all.deb Mix-in to add / call inheritable triggers
libclass-unload-perl_0.08-1_all.deb Perl module to unload a class at runtime
libclass-virtual-perl_0.06-3_all.deb Base class for virtual base classes
libclass-whitehole-perl_0.04-6_all.deb base class to treat unhandled method calls as errors
libclass-xsaccessor-perl_1.19-2+b4_amd64.deb Perl module providing fast XS accessors
libclassad-dev_8.2.3~dfsg.1-6_amd64.deb HTCondor classads expression language - development library
libclassad7_8.2.3~dfsg.1-6_amd64.deb HTCondor classads expression language - runtime library
libclassworlds-java-doc_1.1-final-5_all.deb Documentation for the Classworlds Java library
libclassworlds-java_1.1-final-5_all.deb framework for container developers requiring manipulation of ClassLoaders
libclassycle-java-doc_1.4-2_all.deb Analysing tool for Java dependencies - documentation
libclassycle-java_1.4-2_all.deb Analysing tool for Java dependencies
Advertisement
Advertisement