substitute the line:
$CLIENTS{$clientID} = &share($newClient);
as show belowe ( put $newClient inside braket square ) $CLIENTS{$clientID} = &share([$newClient]);
I test it on a win2000 with perl 5.8.7 and it works
Comment on Re^2: How to share sockets between threads