in reply to Skipping to the End of a File
open(file,"<file.txt"); foreach (reverse <FILE>) { print $_; last; } close(file); [download]
That's not really an efficient solution -- it reads the entire file into memory as a list of lines and then reverses that list before entering the loop block. The previous solutions using seek() or File::Tail are better options.