debian/0000755000000000000000000000000012236603513007167 5ustar debian/source/0000755000000000000000000000000012236321570010467 5ustar debian/source/format0000644000000000000000000000001412236321570011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000025412236603513011042 0ustar libclass-std-storable-perl (0.0.1-1) unstable; urgency=low * Initial Release. (Closes: #728942) -- KURASHIKI Satoru Wed, 6 Nov 2013 11:03:36 +0900 debian/copyright0000644000000000000000000000200312236575426011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://metacpan.org/release/Class-Std-Storable Upstream-Contact: luke@daeron.com Upstream-Name: Class-Std-Storable Files: * Copyright: 2005, Luke Meyer License: Artistic or GPL-1+ Files: debian/* Copyright: 2013, KURASHIKI Satoru License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/rules0000755000000000000000000000003612236321573010251 0ustar #!/usr/bin/make -f %: dh $@ debian/watch0000644000000000000000000000020112236321570010211 0ustar version=3 https://metacpan.org/release/Class-Std-Storable .*/Class-Std-Storable-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/control0000644000000000000000000000347112236603370010600 0ustar Source: libclass-std-storable-perl Section: perl Priority: optional Maintainer: KURASHIKI Satoru Build-Depends: debhelper (>= 9.20120312) Build-Depends-Indep: libclass-std-perl (>= 0.0.4), perl Standards-Version: 3.9.4 Homepage: https://metacpan.org/release/Class-Std-Storable Package: libclass-std-storable-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libclass-std-perl (>= 0.0.4) 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. . 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. debian/compat0000644000000000000000000000000212236321570010365 0ustar 9