in reply to Re: Conflict between CGI.pm & dbm Files?
in thread Conflict between CGI.pm & dbm Files?

There is nothing in the servers error logs?

How can I go about sending the fatal error message directly to the browser?

Cheers,

Mark

  • Comment on Re: Re: Conflict between CGI.pm & dbm Files?

Replies are listed 'Best First'.
Re: Re: Re: Conflict between CGI.pm & dbm Files?
by hiseldl (Priest) on Sep 30, 2002 at 23:45 UTC

    Add:

    #!/apps/PERL5/bin/perl use CGI qw(:standard); use CGI::Carp qw/ fatalsToBrowser /; # remove for production use strict; $|=1; # do not buffer output ...

    This will turn off buffering for your CGI script and print everything directly so that you can see what your script is outputing. The output should appear in your browser.

    --
    hiseldl
    What time is it? It's Camel Time!