Sounds simple enough. I am printing to a text file file open (example, ">remote.txt") die ("Could not open file. $!"); print example ($first_name); print example ($last_name); close (example); I have tried putting \n but it gives errors. Basically I want the first and last names on a new line. thanks