RE: [htmltmpl] Custom Errors

2002-09-10 Thread Philip S Tellis
Sometime on Sep 9, Kenny Smith assembled some asciibets to say: > I'm currently using the CGI::Carp qw(fatalsToBrowser) to grab those > things... maybe I'll look into customizing it's error message. use fatalsToBrowser along with set_message - from CGI::Carp. -- Ontogeny recapitulates phylogen

Re: [htmltmpl] Custom Errors

2002-09-09 Thread Martijn van den Burg
Hi, On Tuesday 10 September 2002 02:23, Kenny Smith wrote: > Hi all, > > I posted this before, but I wanted to throw it out there again... > > Is the only way to catch the internal H::T errors (like "attempt to set > parameter 'extra_urls' with a scalar - parameter is not a TMPL_VAR!") by > doing

RE: [htmltmpl] Custom Errors

2002-09-09 Thread Kenny Smith
Hi David, I'm currently using the CGI::Carp qw(fatalsToBrowser) to grab those things... maybe I'll look into customizing it's error message. Kenny > also if you're doing CGI programming and are just annoyed > by apache's less-than-enlightening 500 Server Errors while > you're writing/debugging

Re: [htmltmpl] Custom Errors

2002-09-09 Thread David Kaufman
Kenny Smith <[EMAIL PROTECTED]> wrote: > > Is the only way to catch the internal H::T errors (like "attempt to > set parameter 'extra_urls' with a scalar - parameter is not a > TMPL_VAR!") by doing all of my H::T inside an eval and checking the > magic error variables? yes, but not *all* of your

[htmltmpl] Custom Errors

2002-09-09 Thread Kenny Smith
Hi all, I posted this before, but I wanted to throw it out there again... Is the only way to catch the internal H::T errors (like "attempt to set parameter 'extra_urls' with a scalar - parameter is not a TMPL_VAR!") by doing all of my H::T inside an eval and checking the magic error variables?