in reply to Use Storable for storing XML::LibXML object

Hi buff,

I'm not sure why you want to serialize the whole XML::LibXML thing. A XML file is a representation of structured data. So, would in not be enough to store the XML. As soon as you can load and parse the XML you have more or less the same state.

I'm really interested in the use case of serializing the whole thing.

Regards
McA

  • Comment on Re: Use Storable for storing XML::LibXML object

Replies are listed 'Best First'.
Re^2: Use Storable for storing XML::LibXML object
by buff (Acolyte) on Jul 04, 2014 at 15:17 UTC

    I came across this issue when I was trying to serialize objects which have XML::LibXML as member variables. I want to serialize the whole objects to have simple caching for case of repeated runs of the program.