The problem is that an XML::LibXML node is really just a pointer to a libxml struct that lives in XS land. It has no real meaning once the DOM is disposed of.
What to do about it? Firstly, an important question. Say you've stored a node which represents a deeply nested XML element. Once you've retrieved the object from storage, should you only be allowed to query "down" from the node, or should $node->parentNode Just Work™?
In reply to Re: Use Storable for storing XML::LibXML object
by tobyink
in thread Use Storable for storing XML::LibXML object
by buff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |