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

tried with

use DBD::Oracle

but same error i am getting.


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 .)
  • Comment on Re^4: how to include Oraperl.pm module in CGI file

Replies are listed 'Best First'.
Re^5: how to include Oraperl.pm module in CGI file
by marto (Cardinal) on Sep 12, 2018 at 10:38 UTC

    here you say that you copies a PM file, this isn't the way to install modules. INSTALL details the procedure. Who/where has suggested to you to use Oraperl?

      i am not using Oraperl.

      i have installed DBI using CPAN shell only.

      and in CGI file i am using as

      use DBI; then also i am getting error.

        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.