in reply to Edit a New file in place after reading it in

Check out Tie::File.

You can take a look at some posts which mention it.

  • Comment on Re: Edit a New file in place after reading it in

Replies are listed 'Best First'.
Re^2: Edit a New file in place after reading it in
by Anonymous Monk on Dec 22, 2021 at 14:38 UTC

    Oh, sorry. I didn't realize you were reading from one file and writing to another. Never mind.