use HTML::TagFilter; my $tf = new HTML::TagFilter->new( allow => {}, strip_comments => 1, ); my $text = $tf->filter($html);
Compared to other offspring of the Parser, HTML::TagFilter is rather limited: it only does one thing, but it does it reasonably well. I think so anyway, but I wrote it :)
In reply to Re: HTML <=> Text convertion
by thpfft
in thread HTML <=> Text convertion
by TVSET
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |