maybe you want dynamic includes? if the suggestion of wfsp does not work
for you, you could try HTML::Template::Compiled: <tmpl_include_var name="var_with_path">
and feed the template filename through param().
edit 2006/07/04: in the upcoming version of H::T::C there's the possibility to
use lazy-loading. this will parse and execute templates only when they are really needed.