Try printing $! after the call to can_read. select should set it.
Speaking of error checking,
$client->{socket} = IO::Socket::UNIX->new(...);
should be
$client->{socket} = IO::Socket::UNIX->new(...)
or die("Unable to open socket: $!\n");
In reply to Re: Problems with IO::Select
by ikegami
in thread Problems with IO::Select
by dirtdart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |