All-in-all, You might want to look at IO::Tee and/or Tie::FileHandle::MultiPlex to accomplish this more cleanly.
I accomplished a similar thing with Tie::FileHandle::MultiPlex and it worked well for me.
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
In reply to Re: trying to copy STDERR STDOUT on win32
by DrWhy
in thread trying to copy STDERR STDOUT on win32
by boat73
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |