[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: If you're getting script errors ....



Dave Lerner wrote:
> 
> If you're getting script errors, sometimes you can get more useful
> diagnostic
> information by adding "use CGI::Carp qw(fatalsToBrowser);" to the
> .pl file for which the error occurs.
Dave,
I have never made use of the CGI::Carp module, but if I have understood
it right, it sends possible "die" statements to the browser. If that's
the case, adding the expression
    use CGI::Carp qw(fatalsToBrowser);
to a Ringlink file would make no difference, since there are no "die"
statements in Ringlink. Instead there are a few "exit print" statements
which, I guess, do about the same thing.
/ Gunnar

References to:
"Dave Lerner" <iv0jg7c2p56t9ysu@mindspring.com>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]