I have a bunch of files (about 7000 of them). I have to traverse the directory structure, read each of the file and identity a section of the text. For example the text between '<!- Begin Replacable Section-->' and '<!- End Replacable Section-->'. The number of lines between them varies. I have to replace the section of the files between two comments with a different text.
I am relatively new to perl.
I can traverse the directory. I can construct the replacable section. I can open the file, but I do not know how to replace the section between two comment lines.
I would greatly appreciate any help on this.