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

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?

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

Replies are listed 'Best First'.
Re^6: how to include Oraperl.pm module in CGI file
by jitender (Novice) on Sep 12, 2018 at 11:09 UTC
    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.

        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.