Re: Recomdations for Template Plugins for Windows/CGI/ApacheHTTP

2005-05-16 Thread Sean Davis
- Original Message - From: "Siegfried Heintze" <[EMAIL PROTECTED]> To: Sent: Monday, May 16, 2005 7:01 PM Subject: Recomdations for Template Plugins for Windows/CGI/ApacheHTTP Does anyone use Template::Plugin on windows/cgi/ApacheHTTP? Template::Plugin::GD::Text looks very intriguing an

Recomdations for Template Plugins for Windows/CGI/ApacheHTTP

2005-05-16 Thread Siegfried Heintze
Does anyone use Template::Plugin on windows/cgi/ApacheHTTP? Template::Plugin::GD::Text looks very intriguing and I'm wondering if I should go thru the trouble to try to install it on windows. I assume I need to understand Template::Plugin first. Are these plugins using the Template Toolkit descri

Re: Recommended approaches for exceptions, stacktraces, error messages

2005-05-16 Thread Sean Davis
Hi, Siegfried. Did you look in the browser error_log? It typically contains more information. On many unices, it is in /usr/local/apache/logs. However, I'm not sure where it is on your system. A more "perl" approach is to do: use CGI::Carp qw(fatals_to_browser); This will redirect fatal error

Recommended approaches for exceptions, stacktraces, error messages

2005-05-16 Thread Siegfried Heintze
Is anybody (perhaps book authors) promoting a "best practices" for perl CGI programming? I've been doing the use warning; use strict; use CGI; # this is from memory, but you get the idea. my $q = CGI->new; my $html = ""; eval { $html .= " $data "; $html .= " more stuff $data2 ";