On Tue, Jan 13, 2004 at 02:17:53AM +0800, Autrijus Tang wrote: > Sorry if this is a FAQ, but I can't seem to find a way to tell TT2 that > I do not want it to add #line directives during template compilation.
That wasn't possible. The #line directives were added by some hard-code in the Parser.yp file. But I changed it so now it is. I moved that code into Template::Parser and added a FILE_INFO option, set to 1 by default, which you can set to 0 to disable it. my $tt = Template->new( FILE_INFO => 0 ); Changes are in CVS. HTH A _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
