The TRY/CATCH lets me take an alternate path if something fails. And of course, I've got access to the very same variables in the alternate branch.TRY; INSERT "stonehenge/insert/${template.class}/col${template.instance +}.pod" WRAPPER stonehenge/column_individual; CATCH file; "<!-- cannot find stonehenge/insert/${template.class}/col${templat +e.instance}.pod -->"; END;
-- Randal L. Schwartz, Perl hacker
In reply to •Re: Which template failed to load?
by merlyn
in thread Which template failed to load?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |