Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: "Auto" vivifying shared data structures

by johnnywang (Priest)
on Nov 17, 2005 at 20:53 UTC ( [id://509573]=note: print w/replies, xml ) Need Help??


in reply to "Auto" vivifying shared data structures

I've encountered this same problem before: the fact everything has to be explicitly shared. This becomes a even bigger problem if the data structure is produced by somebody else's code (such as XML::Simple). I've resorted to freez/thaw and share the serialized scalar.
  • Comment on Re: "Auto" vivifying shared data structures

Replies are listed 'Best First'.
Re^2: "Auto" vivifying shared data structures
by Dr. Mu (Hermit) on Nov 17, 2005 at 21:24 UTC
    This, too, is an option I was considering. But I didn't know about freeze and thaw in the Storable package. (I was going to use Data::Dump and eval. Yecch!) Thanks for the pointer!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://509573]
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: (3)
As of 2024-04-19 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found