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!