in reply to Re: I can't connect to DBM Databases
in thread I can't connect to DBM Databases

Hello, naikonta: Here is the copy of the log when I tested the band.cgi from the command line. There were no error messages. Or, should I see other error log somewhere. I leaned to use die function. But, I didn't know wherelse to see error messages.

If it's the permission problem, could I do anything on the code? Shebang line? Or else? Thank you.
[yyokot01@crux chap09]$ perl -c band.cgi band.cgi syntax OK [yyokot01@crux chap09]$ perl -w band.cgi Content-type: text/html (offline mode: enter name=value pairs on standard input; press ^D or ^ +Z when done) Button=Put+Me+On+your+Mailing+List Name=Jane Emai=jc@pop.com [yyokot01@crux chap09]$

Replies are listed 'Best First'.
Re^3: I can't connect to DBM Databases
by Gangabass (Vicar) on Oct 16, 2007 at 04:17 UTC

    Maybe this helps:

    use CGI::Carp qw(fatalsToBrowser);
      >use CGI::Carp qw(fatalsToBrowser); Thank you. I added this line and tested the code. But, nothing different happened...
Re^3: I can't connect to DBM Databases
by naikonta (Curate) on Oct 18, 2007 at 04:49 UTC
    fromjp,

    Basically, running a CGI program is quite differently from running command line program. I'm afraid you need to obtain some basic knowledge about CGI programs at general. I hope you can find some suitable tutorials for begineer on CGI. You can start with google, or CGI Programming tutorial.


    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!