Did you install these modules using ppm? ----------------- Ron Reidy Lead DBA Array BioPharma, Inc.
-----Original Message----- From: Alan Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 1:46 AM To: [email protected] Subject: Problems recognizing DBI Hi, I am somewhat new to Perl, and am trying to use it to access a MySQL database. I installed the DBI and DBM packages, the seem to be where they should be, but when I execute the script I get a not found message. Are there additioinal environment variables that need to be set? Here is the message: Can't locate DBI.pm in @INC (@INC contains: E:/langs/ActivePerl/Perl/lib E:/langs/ActivePerl/Perl/site/lib .) at G:\Dev\Perl Scripts\dump_members.pl line 4. BEGIN failed--compilation aborted at G:\Dev\Perl Scripts\dump_members.pl line 4. The script contains the following: use strict; use DBI; my $dsn= "DBI::mysql:sampdb:localhost"; my $user_name = "sampadm"; my $password = "secret"; etc...etc The OS is Windows XP, if that means anything. Hope someone can offer a clue as to what's happening. Thanks, Alan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com This electronic message transmission is a PRIVATE communication which contains information which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. Please notify the sender of the delivery error by replying to this message, or notify us by telephone (877-633-2436, ext. 0), and then delete it from your system.
