open LOGFILE, ">", $LogFile or die; select(LOGFILE); $|=1; print "Something"; select(STDOUT);