|
楼主 |
发表于 2004-4-30 16:16:03
|
显示全部楼层
cpan>install DBI 或者 install DBI::mysql
都是 DBI (DBI::mysql) is up to date
---------------------------------------
test.pl (照着perldoc DBI 抄了几句)
!#/usr/bin/perl
use strict;
use DBI;
my $dbh=DBI->connect('DBI:Mysql:test');
------------------
出错:
Can't locate Mysql.pm in @INC ...
看看@INC里面 的路径下,有Mysql.pm的呀 |
|