open (FH, ">> myfile.txt"); print FH; # whatever you want, whenever you want, using this command