Randal L. Schwartz wrote:
> Well, I like to wrap my PROCESS $template in a TRY block, so that
> won't work very well.

It will if you add the ERROR option.  This can be used to define a 
template or subroutine to be invoked when the main PROCESS/WRAPPER
fails.  You can also define it as a hash mapping error types to 
templates/handlers, effectively the same thing as having multiple
CATCH blocks.

A


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

Reply via email to