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.49-5m.mo8.i686 [85 KiB] Changelog by Yohsuke Ooi (2016-08-05):
- (20:5.20.0-5m)
- add gcc5 patches

Listing created by Repoview-0.6.6-1m.mo8