I want to define a master template which governs the overall appearance of my pages, 
for example this could be a page with a common header and a "breaker" column down the 
left and right side of the page. This will allow me to change the appearance of my 
whole site by simply editing one template.

I  then want to define the middle part of the page with other templates and then use 
HTML::Template to pull it all together.

I can't work out a clean way of doing this other than creating two HTML::Template 
objects and pushing the $subTemplate->output() into a 
$masterTemplate->param(....). Is there a better way of achieving this?

I came round to thinking that the ideal would be to have the param method accept a 
template as a parameter value.

Phil




Reply via email to