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.
in reply to Re: getting shared_clone() functionality with earlier threads::shared?
in thread getting shared_clone() functionality with earlier threads::shared?
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.
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."