"be consistent" | |
PerlMonks |
In HTML , I Want to process only Data and Not tagsby sanPerl (Friar) |
on Jul 25, 2006 at 19:51 UTC ( [id://563619]=perlquestion: print w/replies, xml ) | Need Help?? |
sanPerl has asked for the wisdom of the Perl Monks concerning the following question:
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. Regards, Sandeep
Back to
Seekers of Perl Wisdom
|
|