in reply to Parsing HTML
One possible way, shown in Perl CookBook (1st ed.), problem 20.6, is:
use HTML::Parse; use HTML::FormatText; $plain_text = HTML::FormatText->new->format(parse_html($html_text));
(I thought there was a function in LWP::Simple that would just return the text, but I can't recall for sure.)
Hope this helps.
|
|---|