运行pl程序,提示:Can't locate DBI.pm in @INC,解决方法如下:
Install cygwin with these options:
    - gcc (devel)
    - make (devel)
    - binutils (devel)
    - Perl 5.8.6 (interpreters)
    - Perl win32 API (libs)
    - PostgreSQL (database)
installing DBI-1.48.tar.gz as follows:
   - Unpack the kit into /usr/src  (c:\cygwin\usr\src)
   - Open a cygwin shell and cd to /usr/src/DBI-1.48
   - perl Makefile.PL
   - make
   - make test
   - make install
在cygwin的shell下执行相应pl文件,比如./ora_DBMS_exp.pl
(注:在cmd下执行pl依然提示Can't locate DBI.pm in @INC......)