in reply to Reading the last line of a file in a Pure Way.

See How do I do a <CODE>tail -f</CODE> in perl?. There are also File::Tail and File::ReadBackwards modules (I guess unless you want 'tail -f' functionality, then File::ReadBackwards will do).
  • Comment on Re: Reading the last line of a file in a Pure Way.