![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re^2: getting shared_clone() functionality with earlier threads::shared?by DrWhy (Chaplain) |
on Nov 10, 2010 at 17:11 UTC ( [id://870626]=note: print w/replies, xml ) | Need Help?? |
That's an interesting idea. I hadn't looked at the code for the more recent threads::shared and didn't realize shared_clone was implemented in pure perl -- I assumed it was in .xs like the rest of the module's code.
Actually, I now think I can solve my problem better using Data::Alias. But I'll have to test to see if this aliasing plays well with shared variables. UPDATE: fixed typo. --DrWhy "If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
In Section
Seekers of Perl Wisdom
|
|