in reply to Looking for output from Template::Toolkit

<tmpl_var name=...

Maybe I'm misunderstanding something (I've only taken a cursory look so far), but your template looks more appropriate for HTML::Template than for Template Toolkit.  (Update: "more appropriate" in the sense that Template Toolkit doesn't use tmpl_var / tmpl_loop etc. syntax — not that it couldn't handle the task at hand per se...)