open(STDOUT, "> $LogFile"); select(STDOUT); $|=1; print "Something" #Now I want to undo my redirect...and print to the console window.