On Tue, Jul 31, 2001 at 05:00:43PM +1000, [EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> I have tried running followtail.perl on Windows NT with POE 0.15 and get the
> following error:
> 
> perl -w followtail.perl
> Can't set the handle non-blocking: Unknown error at
> C:/perl/site/lib/POE/Kernel.pm line 2304.
> 
> The offending section in Kernel.pm goes...
> 
>  # Make the handle stop blocking, the Windows way.

[code]

> Has anyone seen this before or knows (even vaguely) how to deal with this?
> 
> cheers
> Tony Day 

[confidentiality signature]

The followtail.perl sample spawns twenty or so sessions: ten to write
sample log files, and ten to follow those logs and print new lines as
they appear.

However, Windows doesn't support non-blocking I/O or select() on
anything but Internet sockets, so samples/followtail.perl won't work
on Windows.

Apologies for that.

I could be wrong, though.  In fact, I'd like to be.  If there's a way
to make followtail.perl work on plain files, please tell me how.

Thanks!

-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net

Reply via email to