What I need to do in order for the IPC(using pipes) to work is disable buffering. However, I only want to disable buffering if I am launching the script from the Win32 application.
At the top of my perl script I select STDERR as teh default filehandle and I make it hot($| = 1). Since in my scripts I sometimes write to STDOUT I say print STDOUT "hello world\n". I need to make the STDOUT filehandle hot and I have to set STDOUT as the default filehandle so STDERR will no longer be hot. What's the easiest way to get this done? TIA.
In reply to Disabling Buffering by richz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |