in reply to CGI::Application/HTML::Template error handling
If the template does exist, then call
(i suppose you could also just pass @_ instead). If it doesn't exist, then call$self->SUPER::load_tmpl($tmpl_file, @extra_params);
where 404.tmpl is your canned '404 Not found' response.$self->SUPER::load_tmpl('404.tmpl', @extra_params);
Hope this helps.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|