|
Posted by daniel kaplan on May 20, 2005, 11:05 am
Please log in for more thread options
> In a nutshell, add this to the top of your script:
>
> use CGI::Carp qw(fatalsToBrowser);
Thanks Sherm, I have that in all my scripts, thinking that was the ticket.
But since it didn't do it upon furhter reading I realized it works with "the
standard warn(), die (), croak(), confess() and carp() calls will
automagically be replaced with functions that write out nicely time-stamped
messages to the HTTP server error log."
Actually now that I think about it, not declaring $x before using it woudl
be a compile time error (with my minimal knowledge of Perl) and am asking
this in the wrong newsgroup?
|