http://www.perlmonks.org?node_id=993155


in reply to Perl Script to edit the contents of a txt file

To edit the file, your going to have to copy the entire thing into perl, I would suggest into an array. And then make your changes there afterwhich you can write back to the file as a clean slate to preform your edit.

  • Comment on Re: Perl Script to edit the contents of a txt file