in reply to Re: output HTML table
in thread output HTML table

or
my $text = `links -dump $htmlfile`;
(in my experience slightly better). Third alternative:
my $text = `html2text $htmlfile`;
It is not a trivial task to convert a HTML file to a textfile.