in reply to Re^4: Win32 Perl: inheriting redirected STDIN and STDOUT in a child process (select)
in thread Win32 Perl: inheriting redirected STDIN and STDOUT in a child process

I did have to set the handles to autoflush in both the client and server code in order for things to work properly.

That sounds likely to fix the problems I saw when I tried it after salva first mentioned it here. I didn't have a specific use for it at the time, and didn't spend any time trying to work out why it wasn't working.

Maybe you could suggest that salva mention autoflush in the POD. (Also, there are a couple of missing parens in the synopsis code that do not inspire confidence.)


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^5: Win32 Perl: inheriting redirected STDIN and STDOUT in a child process (select)