The stupid question is the question not asked | |
PerlMonks |
Re: Perl Script to edit the contents of a txt fileby Rudolf (Pilgrim) |
on Sep 12, 2012 at 07:12 UTC ( [id://993155]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|