Welcome to the Monastery | |
PerlMonks |
Re: Abstracting away layout details when using large HTML::Template-based sites?by pKai (Priest) |
on Dec 09, 2007 at 14:16 UTC ( [id://655958]=note: print w/replies, xml ) | Need Help?? |
There is HTML::Template::Compiled which, while being compatible to HTML::Template, has a dynamic include feature, which does exactly what you expected above from HTML::Template at this point. Referring to your code above:
layout.tmpl
and title will also be expanded in the page.inc part.
In Section
Seekers of Perl Wisdom
|
|