in reply to Re^2: HTML::Template : How to separate code and html with lesser maintenance issues
in thread HTML::Template : How to separate code and html with lesser maintenance issues

hmm, yes, it's just an example i stripped from my own code, where i use <TMPL_VAR NAME="function_module_functionname">. there i do the following:
eval("require $module"); $mod = $module->new(); $tmpl->param($_ => $mod->$function())
But i see you got the idea :)
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.