Thanks very much for your help. After some tweaking it seems to work. I've ended up with this code:
sub XML::LibXML::Element::STORABLE_freeze { shift->toString } sub XML::LibXML::Element::STORABLE_attach { 'XML::LibXML'->load_xml(string => pop)->documentElement }
In reply to Re^4: Use Storable for storing XML::LibXML object
by buff
in thread Use Storable for storing XML::LibXML object
by buff
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |