1, 安装Windows上的ActivePerl软件. 在下载后, 点击install.bat角本, 然后按照提示打Yes或No, 下面是将软件安装到c:\usr目录(因为Perl角本的第一行一般是/usr/bin/perl -w)下的例子:

Did you read the LICENSE.txt file? [no] yes
Do you agree to the ActivePerl Community License v2.1? [no] yes
Enter top level directory for install? [C:\Perl] c:\usr
Create shortcuts to the HTML documentation? [yes] no
Add the Perl\site\bin and Perl\bin directories to the PATH? [yes]
Create Perl file extension association? [yes]
Create IIS script mapping for Perl? [yes] no
Create IIS script mapping for Perl ISAPI? [yes] no
Proceed? [yes]

    2, 安装连接Oracle的模块DBD-Oracle 1.19, 下载后解压到c:\usr目录即可.

    3, 安装连接MySQL的模块DBD-MySQL, 运行c:\usr\bin目录下的ppm-shell.bat文件. 如果要从这儿安装DBD-Oracle, 则打install DBD-Oracle就可以了.

ppm> install dbd-mysql
Downloading ActiveState Package Repository packlist…done
Updating ActiveState Package Repository database…done
Downloading DBD-mysql-3.0002…done
Unpacking DBD-mysql-3.0002…done
Generating HTML for DBD-mysql-3.0002…done
Updating files in site area…done
  14 files installed
ppm>

    不过在ActivatePerl的站点上不能安装DBD-Sybase, DBD-MSSQL, DBD-DB2等包, 只能自已编译了.