in reply to Threading problem with IO::Socket
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Threading problem with IO::Socket
by rendler (Pilgrim) on Jul 13, 2003 at 06:49 UTC | |
by antirice (Priest) on Jul 13, 2003 at 06:59 UTC | |
by Anonymous Monk on Jul 17, 2003 at 10:44 UTC |