Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: "Auto" vivifying shared data structuresby johnnywang (Priest) |
on Nov 17, 2005 at 20:53 UTC ( [id://509573]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|