Just grab threads::shared from CPAN,
I already had it, and your code worked without me doing anything. But I woudl never had thought to try it because I knew it didn't work. I tried many times a long time ago. 'sides, the docs told me ot wouldn't
Perhaps the threads::shared docs need some clarification, and the blessing of shared objects needs to be evangelized better ?
If two of the most informed monks here didn't know about it, and if I, who may know nothing but do read anything and everything I see regarding threads, hadn't seen a single reference to it, then a little mention somewhere would be good thing I think :)
In reply to Re^4: Shareable objects. (Updated)
by BrowserUk
in thread Shareable objects.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |