# closes stderr during script execution close STDERR; print "Content-Type: text/plain\n\n"; sleep 1; print "this is also stdout";