http://qs321.pair.com?node_id=256407


in reply to RFC: CGI::Tables

Did you not see my attempt at this problem: DBIx::XHTML_Table? You can even use that module to create a "Spreadsheet CGI". However, mine is more tied to DBI ... but you can always pass the constructor an AoA without needing a database.

This does make me wonder if there should be a base class that both of our modules could use ... on another note, i would like to see your module replace HTML::Table, which i really don't care for. The author actually tries to handle each attribute individually instead of generically allowing attributes to 'handle themselves' ... shudder

Anyhoo, check out my module ... there are some neat features you are welcome to steal. :) (like rotating attributes and callbacks for each cell)

Oh yeah, i almost forgot -- if you want to investigate the HTML::Template solution, be sure and check out my Dynamic HTML::Template Database Template. Again, it was designed to be generic and to be used with a database, but you can always modify it to fit your specific needs.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)