[Templates] Findng Errors in Template files

Perrin Harkins perrin at elem.com
Wed Jan 9 22:06:09 GMT 2008


On Jan 9, 2008 2:59 PM, David Martin <designs at nolaflash.com> wrote:
> I have a template with an error in it that I just can't seem to track down.

What's the message you're getting?

> I seem to recall from years ago that there is a way to tell the TT compiler
> to compile the template file and in that way discover the line number where
> it breaks?

You can certainly examine the generated perl code, if that's what you
mean.  Just turn the file cache on and the perl code will get written
to disk.

- Perrin



More information about the templates mailing list