I guess that you'll be far better off by sharing the data while it is still in string format instead of sharing it once it is decoded. Also, I think you need to explicitly share every level of a data structure.
Honestly, I'm not sure what you try to accomplish by sharing the data structure. Maybe there is an easier way to accomplish what you want to do without sharing the structure, for example by serializing the structure through a Thread::Queue to many worker threads.
In reply to Re: adding a hash to a shared object
by Corion
in thread adding a hash to a shared object
by daverave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |