If you trace out what HTML::Template::output() does, you'll see that there are a lot of die()s sprinkled about. The eval will catch any one of them.
There's nothing cargo-cultish about catching and redirecting errors. The technique is independent of any one particular error.
In reply to Re: Re: Two tips for developing with HTML::Template
by dws
in thread Two tips for developing with HTML::Template
by dws
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |