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 _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates