in reply to
Non blocking read on a filehandle
You need to create separate threads, one of input and the other for output. I learned this from Lincoln Stein's new Network Programming with Perl book. There are great examples there of this for different platforms (Win32/Unix).
Celebrate Intellectual Diversity
Comment on
Re: Non blocking read on a filehandle
Replies are listed 'Best First'.
Re (tilly) 2: Non blocking read on a filehandle
by
tilly
(Archbishop)
on Jan 31, 2001 at 08:36 UTC
Perl does not have a reliable threading model. You cannot rely on this for production level code.
[reply]
In Section
Seekers of Perl Wisdom