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

I can not tell if the original suggestions work, because after careful consideration, I have decided to approach my needs from a different and way more easier perspective.

What I'd like to say thou, is that the modification to the subroutine winsocketpair suggested by BrowserUk (see above), stopped making my perl interpreter to hang up.So, whoever comes behind me looking for a solution that requieres Win32::Socketpair, be aware of this needed modification.

Additionally, in my particular case, "use threads qw( async );" complains that "async" is an unknow import, even thou I verified it is there in threads.pm, go figure.

Many thanks to ikegami, BrowserUk and everyone else for the help provided.

Best regards

matematiko

  • Comment on Re^4: Alternative for Select for pipes in Windows?

Replies are listed 'Best First'.
Re^5: Alternative for Select for pipes in Windows?
by BrowserUk (Patriarch) on Nov 08, 2010 at 00:52 UTC
    in my particular case, "use threads qw( async );" complains that "async" is an unknow import,

    async is exported by default, so it is not necessary to import it explicitly.

    Indeed, as long as I can remember, attempting to import it has resulted in an error message:

    threads: Unknown import option: async at ...

    That's the problem with people posting "theoretical answers" for things they've never actually done!


    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.