一、下载
Download the source from:
http://search.cpan.org/CPAN/authors/id/I/IB/IBMTORDB2/DBD-DB2-1.75.tar.gz
二、安装
export DB2_HOME=/home/db2inst1/sqllib (for example)
perl Makefile.PL PREFIX=/home/user1/perllib
make
make test
make install
三、配置环境变量
PERL5LIB=/home/user1/perllib
export PERL5LIB
更多请参考:http://www.perl.com/pub/a/2002/04/10/mod_perl.html