If it's just a one-liner, just put in your script somewhere as a subroutine or variable (ie, site_html[_templates].pl), then define the it in the %globals hash (or the hash for just one template) of tags/variables to use in your templates...
or
(remove the ',' if this is the last variable.)
--Drew
Code:
something => \&something,Code:
something => $something,--Drew