Two: there's an easy HTML::Parser tutorial on gellyfish's own site. The very first example extracts only the pure text.
If you want to build your own, starting out from ovid's HTML::TokeParser::Simple, a simpler, more OO-style interface on top of HTML::TokeParser, looks easier to me, than from the raw HTML::Parser.
In reply to Re: HTML <=> Text convertion
by bart
in thread HTML <=> Text convertion
by TVSET
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |