parse html table

Lily Y. Fu (lily@tigr.org)
Tue, 13 Apr 1999 18:04:08 -0400


Hi, I have a very simple question:

I want to parse a html page having table format into
simple text. I tried the following code, but
it won't parse the table,but give me:
 
  [TABLE NOT SHOWN]

How can I parse html page which has tables?

Thank you for your help.

Lily
==============


#!/usr/bin/perl

use HTML::Parse;

$html = qq{
html file
This is html file. will be parsed as text.

};


print parse_html($html)->format;
exit;