Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Apache::Session help storing a complex data structure

by jasonk (Parson)
on Jan 06, 2009 at 20:57 UTC ( [id://734498]=note: print w/replies, xml ) Need Help??


in reply to Apache::Session help storing a complex data structure

You don't indicate what the error messages are, but Tree objects include code references. In order to serialize them with Storable, you either need to have a recent version of Storable (after 2.05) and set $Storable::Deparse to a true value, to allow Storable to serialize the code reference, or prevent the code references from being serialized (see STORABLE_freeze and STORABLE_thaw in Storable).


www.jasonkohles.com
We're not surrounded, we're in a target-rich environment!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found