Think about Loose Coupling | |
PerlMonks |
Re: Can you include templates in Template Toolkit without specifying the file extension?by choroba (Cardinal) |
on May 16, 2017 at 19:13 UTC ( [id://1190402]=note: print w/replies, xml ) | Need Help?? |
The syntax [% INCLUDE header %] is usually used for block inclusion, i.e. somewhere in the same file, or in the file from which the template has been called, the block of the name header should be defined. See INCLUDE. If no such block existed, file named header (i.e. with no extension) would be included.
In Section
Seekers of Perl Wisdom
|
|