libclass-std-storable-perl 0.0.1-3 source package in Ubuntu
Changelog
libclass-std-storable-perl (0.0.1-3) unstable; urgency=medium * QA upload. [ Jelmer Vernooij ] * Migrate repository from alioth to salsa. [ HIGUCHI Daisuke (VDR dai) ] * Set maintainer field to QA Group. - Acked by previous maintainer. He intends to orphan package, but he does not have his time. Thanks to Satoru KURASHIKI <email address hidden> for previous works. -- HIGUCHI Daisuke (VDR dai) <email address hidden> Tue, 03 Oct 2023 12:24:03 +0900
Upload details
- Uploaded by:
- Debian QA Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian QA Group
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libclass-std-storable-perl_0.0.1-3.dsc | 2.1 KiB | defdb2e5aba6ef7863d6b70006e39cf19d4d4214b2f6da21f8df69d6bd99841c |
libclass-std-storable-perl_0.0.1.orig.tar.gz | 8.1 KiB | 5d9210772248a1d5a6339a2b31ca0fb90d981b5e29538988a03b363568f442c7 |
libclass-std-storable-perl_0.0.1-3.debian.tar.xz | 2.1 KiB | 02828043e5df57503765b314fde1a0f8bee205f2f2033af0d79dbf2c9e6b5007 |
Available diffs
- diff from 0.0.1-2.1 to 0.0.1-3 (911 bytes)
No changes file available.
Binary packages built by this source
- libclass-std-storable-perl: 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.
.
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.