open STDOUT, '>', \$stdout or die "redirect STDOUT: $!";