in reply to Re^3: tracing system calls a perl script is makingin thread tracing system calls a perl script is making
Of course. Setting $| to true also helps. TIMTOWTDI :-)
I'm generally suspicious of $| ability to ensure that stdout and stderr coordinate when outputting to a file. Hence advocating outputting to the same handle.
I'd swear I've had problems in the past; but it is possible that it was due to threading rather than IO per se.
Results (315 votes). Check out past polls.