Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by jasonk (Parson)
on Jan 06, 2009 at 20:57 UTC ( #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!


Comment on Re: Apache::Session help storing a complex data structure
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-07-04 15:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls