in reply to output HTML table

Have you considered using Perl's builtin formatting mechanisms? perlform. That seems to me that that's what your goal is for the output.

For the input, creating a regex from the HTML file. If the <td>'s are all on their own line, then the regex can filter them out and you can push onto an array and manage your data like that.

Eric

Replies are listed 'Best First'.
Re^2: output HTML table
by kykyxixi (Initiate) on Aug 11, 2006 at 11:46 UTC
    Eric: Thanks for the quick response. The perlform would work for me if my table format is fixed, however, the column width for each table in different html files need to be adjusted and I don't know how to treat it as a variable in perlform. I also don't know how to treat cells which span a few columns in html.
      Perhaps some of the newer functionality in Perl6::Form would help you then. I know it can handle some variable width column data on the output side.

      Eric