Thread: Perl and PostgreSQL...

Perl and PostgreSQL...

From
Emmanuel BOURG
Date:
Hi all,

I don't understand how Pg.pm works. I placed it in my cgi-bin directory,
and with this simple script :

  #!/usr/bin/perl
  use Pg;
  print "hello, it works !!!";
  exit;

i got an 'Internal Server Error 500' :( There is a PostgreSQL database
on this server and there are also C script using it. Perhaps other files
than Pg.pm are needed, but i don't know. If someone has the solution to
this problem...

thanks a lot

Emmanuel BOURG