in reply to shared complex scalars between threads
"share" will traverse up references exactly one level. "share(\$a)" is equivalent to "share($a)", while "share(\\$ +a)" is not. This means that you must create nested shared data st +ructures by first creating individual shared leaf notes, then adding + them to a shared hash or array.
I haven't tried it, but as BrowserUK points out the newer versions of threads::shared claim to do what you want.
|
|---|