Greets Folks, Sorry... I forgot... have one more question...
Suppose I want to use multiple templates in a document, then how would I do that? For instance, suppose I had something like this: use HTML::Template; my $bar = 'World'; my $template = HTML::Template->new(filename => 'body.tmpl'); $template->param(MESSAGE => $bar); print $template->output; and it's corresponding template file: <!-- body.tmpl --> <h1>Hello <TMPL_VAR NAME=MESSAGE></h1> But suppose I wanted to give this "Hello World" message a header and a footer... such that I would have header.tmpl and footer.tmpl... then what would I do? TIA, Will P.S. Also, can one nest tables in HTML::Template? I mean, within other templates? __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
