1. Install the new version of Perl
Perl is usually located in / usr / local / bin / perl or / usr / bin / perl. You can get his latest version at www.cpan.org, here we use Perl-5.8.5.tar.gz installation process: (1) Unzip: $ Gunzip Perl-5.8.5.tar.gz $ tar xvf Perl-5.8.5.tar.gz (2) Configuration: $ configure (3) Compile: $ Make $ Make Test $ Make Install (3) Place: Copy the generated executable to the executable usually the directory, Such as: $ COPY
2. Compile the Module module of Perl
This program uses several modules of Perl, which is to install in order, respectively. First, install DBI package: TAR ZXVF DBI-1.06.Tar.gz (decompressed package) CD DBI-1.45.TAR.GZ Perl makefile.pl (generate makefile, pay attention to case) Make (compile) Make Test ) Make Install
Then, the database module is used. It is Oracle: Install Oracle-1.2.3.tar.gz package CD .. TAR zxvf oracle-1.2.3.tar.gz cd oracle-1.2.3 perl makefile.pl make make Test make INSTAL
Install DBD-ORACLE-1.16.tar.gz package CD .. TAR ZXVF DBD-ORACLE-1.16.TAR.GZ CD DBD-ORACLE-1.16.TAR.GZ Perl Makefile.pl Make Make Test Make Instal
Such a database related module is installed
Note: In Windows's CMD environment, you need to install VC and use its nmake command to replace the above Make commands, the other basically