use strict; use HTML::FormatText; use HTML::Parse; my $data = do {local $/;}; my $html = parse_html($data); my $formatter = HTML::FormatText->new( leftmargin => 0, rightmargin => 50, ); my $ascii = $formatter->format($html); print "$ascii\n"; __DATA__

Here's some text that goes in the body of the article. It has some list items like this: