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.
In reply to Re^2: Shared Thread Pool (used more then once,)
by BrowserUk
in thread Shared Thread Pool (used more then once,)
by tnttinxses
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |