in reply to Re^3: Alternative for Select for pipes in Windows?
in thread Alternative for Select for pipes in Windows?

Simpler:
use Socket qw( AF_UNIX SOCK_STREAM PF_UNSPEC ); sub winsocketpair { socketpair(my $fh1, my $fh2, AF_UNIX, SOCK_STREAM, PF_UNSPEC) or return (); return ($fh1, $fh2); }

(From Re^4: why IPC::Open3 can't execute MS-DOS "dir" command?)

Replies are listed 'Best First'.
Re^5: Alternative for Select for pipes in Windows?
by BrowserUk (Patriarch) on Nov 06, 2010 at 06:11 UTC

    Maybe salva will explain why he didn't use that in the first place.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.