On Tue, Mar 18, 2003 at 10:29:11AM +0100, Harald Joerg wrote: > Bradley Baetz <[EMAIL PROTECTED]> writes: > > > Is there an easy way to discover if a template exists? > > Just [% TRY %] to [% PROCESS %] it and [% CATCH %] the file errors. >
Yeah, but this is from perl. I don't want to process this - I wnt to do this up front, before any processing. Its the top level file, not something PROCESSed later. And I still couldn't differentiate between syntax errors, and file not found - I can do the [% TRY %] equivelent in the perl directly. Bradley _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
