How to Install and Uninstall libclass-std-storable-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 23,2024

1. Install "libclass-std-storable-perl" package

Please follow the steps below to install libclass-std-storable-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libclass-std-storable-perl

2. Uninstall "libclass-std-storable-perl" package

Please follow the instructions below to uninstall libclass-std-storable-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libclass-std-storable-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libclass-std-storable-perl package on Ubuntu 21.10 (Impish Indri)

Package: libclass-std-storable-perl
Architecture: all
Version: 0.0.1-2.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: KURASHIKI Satoru
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 37
Depends: perl:any, libclass-std-perl (>= 0.0.4)
Filename: pool/universe/libc/libclass-std-storable-perl/libclass-std-storable-perl_0.0.1-2.1_all.deb
Size: 14524
MD5sum: f8248d11bfb7f54a583e83d6b7d044f7
SHA1: 208698e2cbeec218dd1b5c8f1a28b16a4aa3fe55
SHA256: c381fecc94fe7e7a6bdd5afaba9fcd206e60aed8c4cd0057af163e4e290bde39
SHA512: 4ff9797552a65c18faa0ddc947fde4549746a85f9f127afde468c92462d2ce482352a92e631d4e3e2c5944f7a8295796cd6e250b5dd0c3ef8ba7f2911408c64a
Homepage: https://metacpan.org/release/Class-Std-Storable
Description-en: 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.
Description-md5: a07cd462d015161614b9f2d83c06e037