in reply to Re: memory persistance
in thread memory persistance

Storable?

Perhaps not. Storable highly depends on the perl version. It's ok if you need it just for communication with perl processes on the same machine, but it will bite you when you update perl or move to a different platform.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^3: memory persistance
by spadacciniweb (Curate) on Aug 30, 2011 at 07:56 UTC
    I read from documentation:
    You can also store data in network order to allow easy sharing across multiple platforms, or when storing on a socket known to be remotely connected. The routines to call have an initial n prefix for network, as in nstore and nstore_fd . At retrieval time, your data will be correctly restored so you don't have to know whether you're restoring from native or network ordered data. Double values are stored stringified to ensure portability as well, at the slight risk of loosing some precision in the last decimals.
    and
    This version of Storable will defer croaking until it encounters a dat +a type in the file that it does not recognize. This means that it wil +l continue to read files generated by newer Storable modules which ar +e careful in what they write out, making it easier to upgrade Storabl +e modules in a mixed environment.
    Mariano

    (($_="Mzz ojjdloobnf jt uvy5502383")=~y~b-zg2-5c96-81~a-z0-9~s)=~s~~~s; print