# by the way # read a line from a file $line = ; # write something to a file print FILEHANDLE "some line of text\n";