![]() |
|
Welcome to the Monastery | |
PerlMonks |
How to remove html tags using HTML::Parser?by rtlm (Novice) |
on Jul 15, 2004 at 12:49 UTC ( #374630=perlquestion: print w/replies, xml ) | Need Help?? |
rtlm has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks I have a whole html file read into a variable ($the_file), and i am trying to extract the tags from it with HTML::Parser. I have gone over a few tutorials but they havn't been very helpful. Can anyone offer any suggestions or short pieces of code?? Thanks. Yeah by extracting i mean removing and just leaving the plain text. will give it a shot. cheers. The code works fine but instead of having the HTML stripped text printed to the screen, how can i have it stored in a scalar variable or an array??
Back to
Seekers of Perl Wisdom
|
|