in reply to Re: Fastest way of changing the beginning of a txt file..
in thread Fastest way of changing the beginning of a txt file..

You can try Tie::File

Unfortunately, Tie::File adds significant overhead, so it's pretty safe to assume that it would slow things down and burn more memory.

  • Comment on Re^2: Fastest way of changing the beginning of a txt file..