LPM: Text::Template and style sheets

root root at buglet.rcbowen.com
Fri May 19 20:06:37 CDT 2000


> 
> Has anyone used Text::Template with a HTML template that has style sheet
> definitions in it? My style sheets are breaking because (I guess) Text::Template
> is trying to evaluate the stuff in the braces { style sheet stuff... }. Is there
> a way around this?
> 

Yes. Use something other than {} as your delimiter.
I use <% %> as my delimiters, because most HTML editors figure they are
ASP directives and leave them alone. I used to use [## ##] as my delimiters.
But { } would definately cause problems in a variety of cases.

Rich




More information about the Lexington-pm mailing list