Don't know if this will help but the reason it returns the "Invalid value..." is because you're assigning a ref to unshared data. Of course, I've never tried this with a Socket (which is basically a blessed glob), so I don't even know if this will fly.
$client{$i} = &share($client);
The & is there to skip over those pesky prototyping errors. Hope this helps.
antirice
The first rule of Perl club is - use Perl
The ith rule of Perl club is - follow rule i - 1 for i > 1
In reply to Re: Threading problem with IO::Socket
by antirice
in thread Threading problem with IO::Socket
by rendler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |