From: Will <self_deprecated@ya...> - 2002-08-03 00:25:12
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:
my $bar = 'World';
my $template = HTML::Template->new(filename =>
$template->param(MESSAGE => $bar);
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
P.S. Also, can one nest tables in HTML::Template? I
mean, within other templates?
Do You Yahoo!?
Yahoo! Health - Feel better, live better