perl_inc

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: installing perl modules
From: Charles Galpin <cgalpin@lighthouse-software.com>
Date: Wed, 10 Nov 1999 09:30:44 -0500 (EST)


After upgrading to 6.1, bringing with it a perl upgrade, I have a perl
module (DBI) that was no longer found in the @INC array. This was
installed via rpm, so I uninstalled, reinstalled it but it still doesn't
get found. I know if I was using a tarball I would just have to do a make
install to get this working.

How do I do this with the rpm?

===

From: "Ong" <lhengc1@pd.jaring.my>
Newsgroups: comp.lang.perl.modules
Subject: Problem Encountered in running DBI:DBD for Perl 5.0
Date: Tue, 16 Nov 1999 09:43:55 +0800

I am fresh in developing DBI::DBD web database application. I used MySql
(Windows Platform) as the database of the web application. I have also
downloaded the Perl which is able to run DBI from
http://www.mysql.com/download.html and unzipped it into my Perl directory.

I had tested a script as below:
#!/usr/bin/perl -w
use DBI;
use strict;
my $database = "MyNet";
my $data_source = "DBI:mysql:$database";
my $dbh = DBI->connect($data_source) or die "Can't connect to $data_source:
$dbh->errstr\n";
$dbh->disconnect;
exit(0);

When it runs, the error message as below shown:
Can't locate loadable object for module DBI in @INC (@INC contains:
D:\PERL\lib D:\PERL\site\lib .) at D:\PERL\site\lib/DBI.pm line 164
BEGIN failed -- compilation aborted at D:\PERL\site\lib/DBI.pm line 164.
BEGIN failed -- compilation aborted at test.cgi line 2.

Can anyone of you guys help me to solve this problem?

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu