> -----Original Message-----
> From: Angela Chan [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, March 04, 2002 2:50 PM
> To: [EMAIL PROTECTED]
> Subject: DBI.pm
> 
> 
> I'm running a simple script using ActivePerl as follow: 
> ====================================================
> #!/usr/bin/perl
> #########################################
> #
> # This script is connecting ODBC 
> ##########################################
> #
> 
> #use strict;
> use DBI;
> 
> my $dbh = DBI->connect(dbi:ADO:TAS_Database)
>  or die "Can't connect to ADO database";
> 
> exit;
> ======================================================
> but I got the follow error:
> "Can't locate DBI.pm in @INC (@INC contains: C:/Perl/lib 
> C:/Perl/site/lib .) at E:\test is that mean I need to install 
> DBI in my local drive? If so, where I could download that part? Thanks

DBI is usually installed by default with ActivePerl, but this message
means exactly that, that it's not installed.


You can try to install by using ppm utility which comes with it.

In command line issue:


ppm install http://www.xmlproj.com/PPM/DBI-1_21.ppd

This will install the very latest DBI.


Ilya



> 
> Angela
> 

Reply via email to