See also Propagating calling context
In reply to (tye)Re: Returning data from wrapped sub by tye in thread Returning data from wrapped sub by suaveant