in reply to Re^6: how to include Oraperl.pm module in CGI file
in thread how to include Oraperl.pm module in CGI file

Your first post said you were trying to use Oraperl. I suggested you use DBD::Oracle which would have been installed as a prerequsite had you actually installed Oraperl as I linked to. DBI does not install DBD::Oracle, that wouldn't make sense. If you have DBI installed and wish to use DBD::Oracle you have to install it if you don't already have it.

  • Comment on Re^7: how to include Oraperl.pm module in CGI file

Replies are listed 'Best First'.
Re^8: how to include Oraperl.pm module in CGI file
by jitender (Novice) on Sep 14, 2018 at 04:58 UTC
    Hi,

    Now i am using DBI,

    i have installed DBI using cpan shell. everyhting is installed expect Oracle driver. so now when i am running the file getting below error.

    install_driver(Oracle) failed: Can't locate DBD/Oracle.pm in @INC (you may need to install the DBD::Oracle module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/i386-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base .) at (eval 5) line 3. Perhaps the DBD::Oracle perl module hasn't been fully installed, or perhaps the capitalisation of 'Oracle' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Mem, Proxy, Sponge.

      Like I said before. Install it. INSTALL.