Problem in running Perl script through oracle
743632Dec 29 2009 — edited Jan 13 2010Hi,
I am facing one problem in perl script.
" I have one perl script which is interact with sybase database.We have migrated the sybase database to oracle successfully.Now i wanna to change the perl script to interact with oracle database.
I am using the code like that for interacting the oracle database
Old Code with sybase database : use DBI::Sybase::GFAS;
New code with oracle database : Use DBI::oracle::GFAS;
When i am running the perl script,Its showing the below mentioned error:
Can't locate DBI/oracle.pm in @INC (@INC contains: C:\oracle\product\10.2.0\db_1
\perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib/MSWin32
-x86-multi-thread C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib C:\oracle\product
\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\site\
5.8.3 C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib/MSWin32-x86-multi-thread
C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib C:\oracle\product\10.2.0\db_1
\sysman\admin\scripts C:/Perl/lib C:/Perl/site/lib .) at hello.pl line 4.
BEGIN failed--compilation aborted at hello.pl line 4.
Anyone have any idea about this error.
Thx in advance.