Letter P

perl-Storable - persistence for Perl data structures

Website: http://www.perl.org/
License: GPL+ or Artistic
Description:
The Storable package brings persistence to your Perl data structures containing
SCALAR, ARRAY, HASH or REF objects, i.e. anything that can be conveniently
stored to disk and retrieved at a later time.
It can be used in the regular procedural way by calling store with a reference
to the object to be stored, along with the file name where the image should be
written.
The routine returns undef for I/O problems or other internal error, a true value
otherwise. Serious errors are propagated as a die exception.
To retrieve data stored to disk, use retrieve with a file name. The objects stored
into that file are recreated into memory for you, and a reference to the root
object is returned. In case an I/O error occurs while reading, undef is returned
instead. Other serious errors are propagated via die.
Since storage is performed recursively, you might want to stuff references to
objects that share a lot of common data into a single array or hash table, and
then store that object. That way, when you retrieve back the whole thing, the
objects will continue to share what they originally shared.

Packages

perl-Storable-2.22-3m.mo7.x86_64 [80 KiB] Changelog by Yohsuke Ooi (2010-08-31):
- (6:5.12.1-3m)
- full rebuild for mo7 release

Listing created by Repoview-0.6.5-1m.mo7