I need to see what is the value of a "field" on the last line in the text file.
I know how to open the file, but do not know how to read only what is on the last line?
I started like this:
open (FILEHANDLE, "<../data/textfile.file"
|| print ("Cannot open file"
;
Thanks.
I know how to open the file, but do not know how to read only what is on the last line?
I started like this:
open (FILEHANDLE, "<../data/textfile.file"
Thanks.