Recommand a Perl module to persist a large object for re-use between runs?

Posted by Alnitak on Stack Overflow See other posts from Stack Overflow or by Alnitak
Published on 2010-05-25T10:52:05Z Indexed on 2010/05/25 11:31 UTC
Read the original article Hit count: 138

Filed under:
|
|

I've got a large XML file, which takes 40+ seconds to parse with XML::Simple.

I'd like to be able to cache the resulting parsed object so that on the next run I can just retrieve the parsed object and not reparse the whole file.

I've looked at using Data::Dumper but the documentation is a bit lacking on how to store and retrieve its output from disk files. Other classes I've looked at (e.g. Cache::Cache) appear designed for storage of many small objects, not a single large one.

Can anyone recommend a module designed for this?

© Stack Overflow or respective owner

Related posts about perl

Related posts about serialization