$out = *STDOUT{IO}; [download]
$out = \*STDOUT; [download]
In reply to Re: Swiching between output to file and STDOUT by borisz in thread Switching between output to file and STDOUT by loris