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

Thanks for your reply,
if i am using

use DBI::Oracle

in hello.cgi file then i am getting error below

Can't locate DBI/Oracle.pm in @INC (you may need to install the DBI::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 admin.cgi line 35.
already DBI module is installed in root directory.
  • Comment on Re^2: how to include Oraperl.pm module in CGI file

Replies are listed 'Best First'.
Re^3: how to include Oraperl.pm module in CGI file
by hippo (Archbishop) on Sep 12, 2018 at 08:00 UTC
    use DBI::Oracle

    DBI::Oracle isn't a module which exists on CPAN. See the copious documentation on DBI for how to use this abstraction layer or indeed the canonical book.

    PS. I've also just spotted this old but good introductory overview to DBI which might be a useful starting point.

      using DBI only.

      use DBI; getting error

        See also DBD::Oracle installation causing error and note the conclusion mat.

        «The Crux of the Biscuit is the Apostrophe»

        perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Re^3: how to include Oraperl.pm module in CGI file
by marto (Cardinal) on Sep 12, 2018 at 07:52 UTC
      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 .)

        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?