in reply to output HTML table

I've always found:

my $text = `lynx -dump $htmlfile`;
to work quite well.

/J\

Replies are listed 'Best First'.
Re^2: output HTML table
by lima1 (Curate) on Aug 11, 2006 at 12:21 UTC
    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.