in reply to Re: Shared Thread Pool (used more then once,)
in thread Shared Thread Pool (used more then once,)
Are you sure that undef'ing a shared array is a correct way of clearing out the array? I might think you would use lock on @Data, and then do @Data = '';
undef works perfectly on shared arrays.
Your method is completely broken, as it leaves the array with a single element containing a zero length string.
|
|---|