use Local::TeeOutput; openTee(*STDOUT, ">$LogFile"); select(STDOUT); $|=1; print "Something" closeTee(*STDOUT);
In reply to Re: Undo a STDOUT redirect
by dimishome
in thread Undo a STDOUT redirect
by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |