in reply to Read and write files concurrently in Perl

I'm not sure from your description, but you may be looking for seek.

  • Comment on Re: Read and write files concurrently in Perl