in reply to It's friday, I can't think.
just got to be careful that you're not obliterating anything in the process...open FILE, ">>file.txt" or die "Couldn't open file";<BR> *TEMP = *STDOUT;<BR> *STDOUT = *FILE;<BR> print STDOUT "I go to the file now...\n";<BR> *STDOUT = *TEMP;<BR>
|
---|