![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: Two tips for developing with HTML::Templateby seattlejohn (Deacon) |
on Jan 08, 2003 at 03:08 UTC ( #225151=note: print w/replies, xml ) | Need Help?? |
Rather than changing your coding habits to wrap all the template-related calls in eval, wouldn't it be simpler to use CGI::Carp qw(fatalsToBrowser) at the beginning of your script, or perhaps set up a $SIG{__DIE__} handler? Or is there something unusual about the way that HTML::Template dies that makes this inappropriate?
$perlmonks{seattlejohn} = 'John Clyman';
In Section
Meditations
|
|