Dear Monks,
I need to change all the data in some HTML file. Now since the data is between tags. I capture data like this. (Please assume that $htmlbuffer contains containts of HTML file.)
Now here what happens is; the buffer $htmlbuffer gets called many times, just because I want to process data between tags and don’t want to disturb tags. I face same problem while processing XML data also.
This is slowing the program. I am sure someone expert will suggest me a better way.