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 reply to Re^4: Synchronizing STDERR and STDOUT
by Ovid
in thread Synchronizing STDERR and STDOUT
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |