Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Use Storable for storing XML::LibXML object

by buff (Acolyte)
on Jul 07, 2014 at 10:27 UTC ( [id://1092553]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Use Storable for storing XML::LibXML object
in thread Use Storable for storing XML::LibXML object

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 }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1092553]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-16 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found