http://qs1969.pair.com?node_id=268600


in reply to Getting HTML::Parse to work (was: HTML::Parse)

In an act of blatant self-promotion, I'd suggest you use HTML::Strip:
use HTML::Strip; my $hs = HTML::Strip->new(); my $clean_text = $hs->parse( $raw_html ); $hs->eof;