in reply to Delete last line of file with regex

https://stackoverflow.com/questions/303053/how-can-i-read-lines-from-the-end-of-file-in-perl seems to have some good examples. seek, and ye shall tail.
  • Comment on Re: Delete last line of file with regex