RE: [htmltmpl] placing .tmpl files in a subdirectory?
Brought to you by:
samtregar
From: Philip S T. <phi...@gm...> - 2002-07-03 07:35:49
|
On Tue, 2 Jul 2002, Kenny Smith wrote: > > my $t = new HTML::Template(filehandle => *DATA); > > > > then, you just put your template in the source file itself, either after > > __DATA__ or after __END__ > > But... that goes against everything that HTML::Template stands for, > imo. The separation of program from display.. the ability to change > the look without editing the source, etc. true, but there is that small percent of web site hosting companies that don't let you keep files outside your document root - and you really don't want your templates read by everyone. besides, what you can really do, is get your templates designed separately, and then just copy then into the bottom of your file before deployment. like I said though, I've never done that. Philip |