print XML::LibXML->new->parse_html_string(join "", <>)->toStringHTML;
my $parser = XML::LibXML->new();
$parser->recover(1); # Set recovery on error flag
$parser->parse_html_string(join "", <>)->toStringHTML;
Don't know if it's accurate but the docs say that won't work-
This switch (recover) will only work with XML data rather than HTML data.
(Update, July 2010: this does work and has for at least a few years -- don't know if it was always the case; I should have tested back when I initially responded.)
A foolish day
Just another day
Internet cleaning day
The real first day of Spring
The real first day of Autumn
Wait a second, ... is this poll a joke?
Results (440 votes),