Added perl-Storable-2.18 template.

--HG--
extra : convert_revision : 3a0c70407d1a79479df3c245fbf3bef65ac083b4
This commit is contained in:
Juan RP 2009-04-21 19:25:26 +02:00
parent 5f4c4ef370
commit 123aefeb5e
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Template build file for 'perl-Storable'.
pkgname=perl-Storable
version=2.18
wrksrc="Storable-$version"
distfiles="${CPAN_SITE}/Storable/Storable-$version.tar.gz"
build_style=perl_module
short_desc="Perl extension module for persistent data storage"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=99539bb999e391277ca3ef5985b9b7a7c504dfcc6bce38351ba22fba37fb2222
long_desc="
The Storable extension brings persistency to your data.
You may recursively store to disk any data structure, no matter
how complex and circular it is, provided it contains only SCALAR,
ARRAY, HASH (possibly tied) and references (possibly blessed) to
those items.
At a later stage, or in another program, you may retrieve data from
the stored file and recreate the same hiearchy in memory. If you
had blessed references, the retrieved references are blessed into
the same package, so you must make sure you have access to the same
perl class as the one used to create the relevant objects.
There is also a dclone() routine which performs an optimized
mirroring of any data structure, preserving its topology.
Objects (blessed references) may also redefine the way storage and
retrieval is performed, and/or what deep cloning should do on those
objects."
Add_dependency full perl