Hi Clayton,

Yes that was what I was seeking but Michael South's suggestion of using

my $tt = Template->new();
$tt->process('template.tt') || die $tt->error();

worked just fine and I am all set now.

Peace and thanks,

David



> -----Original Message-----
> From: Clayton Scott [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 10, 2008 7:28 AM
> To: Perrin Harkins
> Cc: [EMAIL PROTECTED]; [email protected]
> Subject: Re: [Templates] Findng Errors in Template files
> 
> On Jan 9, 2008 5:06 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> > 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.
> 
> I believe that he's looking for a method of checking his templates for
> check for template syntax errors,
> essentially the equivalent of perl -c perlfile for perl syntax errors.
> 
> --
> 
> Clayton Scott
> [EMAIL PROTECTED]


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to