[Templates] Findng Errors in Template files
Paul Seamons
mail at seamons.com
Wed Jan 9 20:16:21 GMT 2008
On Wednesday 09 January 2008, David Martin wrote:
> Hello,
>
>
>
> I have a template with an error in it that I just can't seem to track down.
> 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?
>
>
>
> Is there a way to do that?
You could try passing it through Template::Alloy which will tell you the line
number of the parse error.
If it isn't a parse error - then you will be back to embedded debug statements
and CLEAR directives (which is a good brute force method).
Paul
More information about the templates
mailing list