Uri Guttman <[EMAIL PROTECTED]> writes: >>>>>> "UG" == Uri Guttman <[EMAIL PROTECTED]> writes: > > UG> i recall seeing someone mentioning that event.pm now runs under > UG> windows. is that true? is there a binary for it? activestate lists > UG> event.pm as a ppm but it only shows various unix flavors. > > UG> i have some old versions of event that mentioned unix and never > UG> windows. the current docs don't even mention any OS's from what i can > UG> tell. that may imply it runs on windows too. if it does, i think there > UG> should be in the docs a list of OS's it runs under and that pass the > UG> tests. > >since no one replied to this, i will. i did run stem under event.pm on >windows today and it worked. > >another question: can you use stdin/stdout on a windows process with >event.pm? my impression is that the windows terminal isn't a select >ready device.
FYI It is called a "Console" on Win32. It doesn't do select(). In fact AFAIK windows only does select() on sockets. But many more things (including Console IIRC) post at Event and the Win32 native API is WaitForEvent() or WaitForMultipleEvents() - latter interface is akin to UNIX's poll(). > >and as i said above, the list of tested platforms for event.pm should >be in the docs. and stuff like that it won't work with windows stdio >(not the fault of event.pm) should also be listed. AFAIK event using PerlIO (perl5.8+) should work iff handles are sockets. One of motivations for PerlIO layers was so that a native :win32 layer could be written so that perl's select() stuff could be faked. Sadly I never finished it. > >thanx, > >uri