in reply to IO::Select on an IO::Pipe not doing anything

Select has never worked on pipes in win32, as far as I know. The os simply doesn't have a way to select except with sockets.

After Compline,
Zaxo

  • Comment on Re: IO::Select on an IO::Pipe not doing anything

Replies are listed 'Best First'.
Re^2: IO::Select on an IO::Pipe not doing anything
by monarch (Priest) on Sep 23, 2005 at 05:10 UTC
    Great idea, tried the following on WinXP and it worked:

    Outputs:

    C:\Temp>perl -w deleteme.pl Created local TCP socket on port 1861 Parent live Child live Handles: 1, 1 ready [r] [d:HELLO!:d] [W] Handles: 1, undef ready [b] Handles: 1, undef ready [b] Handles: 1, undef ready [b] Handles: 1, 1 ready [r] [d:HELLO!:d] [W]