[cgiapp] Variable Number of Column in a Table

Mark Fuller azfuller at gmail.com
Thu May 15 20:23:59 EDT 2008


On Thu, May 15, 2008 at 9:03 AM, Stephen Carville
<stephen.carville at gmail.com> wrote:
> Is there any way to have a template where the number of columns is
> determined at run time?

I don't know if this is a good idea, but you can use HTML::Template's
"filter" option to modify the template's content when it's loaded. In
the template you could markup the row so it could be processed by the
filter (to repeat the <td></td> as many times as necessary).

Mark


More information about the cgiapp mailing list