give me a complete, foolproof, runnable solution
Sure. My rate is $75 USD / hour, 2 hour minimum.
That is not how perlmonks works. The people here are volunteering their time. To demand a full and complete solution is rather presumptuous.
I have heard that File::Tee will do the job, but that is a link to a module, so you are probably not interested, even though it does look like the documentation even provides a full solution.
--MidLifeXis
In reply to Re: Both print and redirect STDOUT and STDERR
by MidLifeXis
in thread Both print and redirect STDOUT and STDERR
by chessgui
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |