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



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to