Reading and Writing print FH $string; Write $string into the file. $string = read (FH); Read a line from the file and store it in $string.