Use thread::shared::shared_clone().
In reply to Re: Help !! problems sharing a nested hash across threads by BrowserUk in thread Help !! problems sharing a nested hash across threads by stevehicks