Re: dbi not installing



zorro wrote:
Do i have to be in a particular directory to install dbi?
I have ActiveState and followed the manual ...

ppm install DBI

What, exactly, were the results of this command? Did it produce any
errors? Did you read the results?

then ran x.cgi, but error reported :

Software error:
Can't locate DBI.pm in @INC (@INC contains: C:/Perl/lib
C:/Perl/site/lib .) at c:\PROGRA~1\EASYPH~1\cgi-bin\x.cgi line 4.

my code is correct i think...
#!C:/Perl/bin/perl
use CGI::Carp "fatalsToBrowser";
use DBI;

This is line 3 of your file, but your error message is saying it tried
to load DBI on line 4. Therefore, either the source or the error you
posted are not accurate. Please copy and paste the real error message
and the real code.

Paul Lalli

.



Relevant Pages

  • Re: DBI AND DBD-ORACLE
    ... Subject: DBI AND DBD-ORACLE ... I typed uninst DBI and got an error message. ... uninstall DBD-Oracle successfully and tried to reinstall but got another ...
    (perl.dbi.users)
  • Re: Error While Trying to Fetch a row
    ... things might be wrong here, and the error message is ... use DBI; ... my ($dbh, $sth, $sql); ... The email domain address for NYS DHCR has changed. ...
    (perl.dbi.users)
  • Re: How to catch the returned error message.
    ... Certifiable Oracle DBA and Part Time Perl Evangelist ... I am executing a Perl script which makes use of 'DBI' module. ... I am performing a select operation on a table through the Perl script and I ... The error message is well justified as the table doesn't exist. ...
    (perl.dbi.users)
  • How to catch the DBI module error message
    ... I am executing a Perl script which makes use of 'DBI' module. ... I am performing a select operation on a table through the Perl script and I ... The error message is well justified as the table doesn't exist. ...
    (perl.beginners)
  • Stored Procedure using perl
    ... DBI and I am getting the following error message. ... command not allowed within multi-statement transaction. ...
    (perl.dbi.users)