in reply to Re^3: Synchronizing STDERR and STDOUT
in thread Synchronizing STDERR and STDOUT
Forking isn't portable. Windows only emulates it and it doesn't always do this well.
Update: Also, I don't believe this guarantees that the streams will remain in synch. I've had plenty of problems with Test::Builder output getting corrupted when Test::Harness spits it out and if they must be completely in synch or my code fails.
Cheers,
Ovid
New address of my CGI Course.
In Section
Seekers of Perl Wisdom