On Tue, Jan 15, 2002 at 12:43:27PM -0500, Rocco Caputo wrote: > On Tue, Jan 15, 2002 at 05:20:26PM +0000, Red Fargin wrote: > > I get the following error when I try and run the tk.perl sample file on a > > windows machine. > > > > D:\Temp\POE-0.17\samples>perl tk.perl > > Can't set the handle non-blocking: Unknown error at ../POE/Kernel.pm line > > 2314. > > Session 2 caught signal UIDESTROY. > > Session 2 is stopped. > > > > Any suggestions on how to make this work? Besides installing a good OS that > > is. > > Heh! Well, Windows doesn't like pipe() much. > > Replace the pipe() calls in samples/tk.perl with > POE::Pipe::OneWay->new() calls, and it might work. There still are no > guarantees.
Just to let folks know, replacing the pipes with POE::Pipe::OneWay may clear up the error, but it won't let the program work. It seems Tk's fileevent watchers don't work at all on Windows, at least in Tk 800.023. Bleah. -- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sf.net
