in reply to Parsing logs and bookmarking last line parsed

You can obtain the current position in a file with tell, and later seek to the same position.

Note that this works only if data is only appended, and old data is never deleted, or changed in length.

Perl 6 - links to (nearly) everything that is Perl 6.
  • Comment on Re: Parsing logs and bookmarking last line parsed