5

Which CPAN module would you recommend for turning HTML into formatted plain text?

One strict requirement is that the module must handle Unicode characters.

knorv
  • 49,059
  • 74
  • 210
  • 294

2 Answers2

6

I like HTML::FormatText and HTML::FormatText::WithLinks

mpeters
  • 4,737
  • 3
  • 27
  • 41
4

See the example script htext that comes with HTML::Parser.

Sinan Ünür
  • 116,958
  • 15
  • 196
  • 339