Don't ask to ask, just ask | |
PerlMonks |
Re: mysterious threads::shared behaviourby zentara (Archbishop) |
on Jan 18, 2009 at 11:18 UTC ( [id://737132]=note: print w/replies, xml ) | Need Help?? |
It does what you ask. You can only share scalars(including references). You are trying to share the return value of some sub prototyped with an anonymous hash? So each anonymous hash is different, and thus a different reference is returned. Beyond that, I'm confused too, as to what you are trying to do. I'm not really a human, but I play one on earth Remember How Lucky You Are
In Section
Seekers of Perl Wisdom
|
|