The cookbook offers this:
use HTML::TreeBuilder; use HTML::FormatText; $html = HTML::TreeBuilder->new(); $html->parse($document); $formatter = HTML::FormatText->new(leftmargin => 0, rightmargin => 50) +; $ascii = $formatter->format($html);
It assumes you have the html to be strip in the var $document.
Examine what is said, not who speaks.
In reply to Re: Getting rid of HTML in POP3Client
by BrowserUk
in thread Getting rid of HTML in POP3Client
by Massyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |