- Name: perl-Storable
- Version: 2.22
- Release: 3m.mo7
- Epoch: 6
- Group: Development/Libraries
- License: GPL+ or Artistic
- Url: http://www.perl.org/
- Summary: persistence for Perl data structures
- Architecture: x86_64
- Size: 155128
- Distribution:
- Vendor:
- Packager:
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.
- OptFlags: -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC
- Cookie: natsuki.momonga-linux.org 1283608524
- Buildhost: natsuki.momonga-linux.org