in reply to adding a hash to a shared object
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: adding a hash to a shared object
by daverave (Scribe) on Aug 11, 2010 at 11:27 UTC | |
by Corion (Patriarch) on Aug 11, 2010 at 11:29 UTC | |
by daverave (Scribe) on Aug 11, 2010 at 11:48 UTC | |
by Corion (Patriarch) on Aug 11, 2010 at 12:27 UTC | |
by daverave (Scribe) on Aug 11, 2010 at 12:53 UTC | |
|