in reply to Re^12: Slow evolution of Perl = Perl is a closed Word (thread decade)
in thread Slow evolution of Perl = Perl is a closed Word

No, it is exactly the opposite,...

You're right. I had a brain fart. Too many concurrent thought trains.

What you need is mod://threads::Bare. Don't go looking for it because it doesn't exist (yet!). I think I have a pure perl solution that will work on win32 and may be made to work on other platforms, but it would be much better and more simply coded as a part of threads if you have the appropriate skill set and thick skin.

So, can you point me in the right direction?

See PeekNamedPipe and the second code snippet in Re: Non-blocking Reads from Pipe Filehandle for the (incomplete) basis to non-blocking IO from win32 anonymous pipes. There is another (older?) post around somewhere with some other details I think, but I've never had cause to completely solve the riddle from Perl.


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.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^13: Slow evolution of Perl = Perl is a closed Word (thread decade)