Syntactic Confectionery Delight | |
PerlMonks |
Re^2: How to repeat a string multiple times if found matchby haukex (Archbishop) |
on Mar 09, 2021 at 08:04 UTC ( [id://11129363]=note: print w/replies, xml ) | Need Help?? |
Usual practice is to create an output file to write the updated content to, then after the update is complete delete the old file and rename the new version to the name of the old version. suvendra123: You may be interested in my module File::Replace to help you with this.
In Section
Seekers of Perl Wisdom
|
|