open (STDOUT, ">>myfile.log");
Works just fine for STDERR also!
To redirect into a variable, perhaps you can try
In reply to Re: Redirecting STDOUT
by Anonymous Monk
in thread Redirecting STDOUT
by tame1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |