[EMAIL PROTECTED] 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


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to