No such thing as a small change | |
PerlMonks |
Re^2: Reusable threads demoby zentara (Archbishop) |
on Aug 18, 2012 at 08:53 UTC ( [id://988180]=note: print w/replies, xml ) | Need Help?? |
Hi, unless the threads::shared model has improved a bit lately, you can only pass scalars as shared variables, and when you share a hash, only the top level hash keys can be accessed. So if you try to descend into a shared hashref, you may get bad results on a deep hash. See threads::shared and if you can show a running code example of what you are doing, that would help everyone out.
I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Meditations
|
|