[cgiapp] Adding Footer to Output
Michael Peters
mpeters at plusthree.com
Wed Jan 2 09:22:31 EST 2008
adam at spatialsystems.org wrote:
> I'm adding a footer and I'm using HTML::Template. I'll be including a generic
> footer using TMPL_INCLUDE and pass the current year to the included footer for
the
> copyright date.
Just saying something is copyrighted doesn't make it so :)
> What's the best way to send this info without having to explicitly sending a
> TMPL_VAR for the year each time? I'd like this to be automatic.
There's no way to do this "automatically" using H::T. You can't run code in H::T
templates, just put markup around variables that you explicitly pass in.
--
Michael Peters
Developer
Plus Three, LP
More information about the cgiapp
mailing list