Re: dbi not installing



Paul Lalli wrote:
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?

It displayed a lot of html - I think it was as a result of a soap
request, yet it looked like a regular html page code. There was no
error displayed at the bottom, just the command prompt. I could'nt see
at the top though because I had the last screen only.


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.

That was the real code, I just removed blank lines for readability.
I think I'll run the whole thing again and double check...


Paul Lalli

.



Relevant Pages

  • Re: Program for retrieving certain lines in a file and writing them to another file
    ... Paul Lalli wrote: ... >>> If NOT, that is if the Error message will only be on one line, and you ... > what you are replying to, and do not snip the attributions. ... > should be issued on the command line. ...
    (comp.lang.perl.misc)
  • Re: How can I capture STDERR and get an exit code?
    ... On Thu, 10 Jun 2004, Paul Lalli wrote: ... >> I need to run a system command, find out if it failed and put its ... >> get the exit code from the command with systembut then I don't know ... >> how to capture its output. ...
    (comp.lang.perl.misc)
  • Re: IDENTITY_INSERT Problems
    ... > (Reverse address to reply.) ... >> Just the example code I posted, not the real code that wouldn't run. ... indicate that I was doing this from the command line) I actually tried over ... That is to say, the NOT NULLness of a field, or the altered dsn does ...
    (microsoft.public.sqlserver.msde)
  • Re: Mailmerge, querystring and (un)logical SQL (Word 2003)
    ... I have the following problem related to mailmerge, QueryString command ... In other words parentheses are ignored in this logic sentence and get ... Is there any way to force Word to accept the "parenthesis logic"? ... I am enclosing the part of my real code which is a subject of my ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Help with chomp command
    ... Paul Lalli wrote: ... perldoc -f chomp ... No one was telling you to use `perldoc ... that is a command you should run in ...
    (perl.beginners)