on Thu, 02 May 2002 17:40:48 GMT, [EMAIL PROTECTED] (Lori Thompson)
wrote: 

> I have a simple perl/cgi script which reads the username and
> password from a form and connects to the database using the Perl
> DBI module. The script works fine on the command line but not
> through the web server (unix box). The "use DBI" statement returns
> a 500 server error message. 

Do you have access to the web-server error log?
It could be that the DBI module is not installed on the unix box, or 
that someone messed with the @INC array.

What output do you get from the following code (run through the web-
server):

    foreach my $dir (@INC) {
        print "$dir<br>";
    }

-- 
felix

Reply via email to