Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: OraPerl w/ Oracle 8

Re: OraPerl w/ Oracle 8

From: John D Groenveld <groenvel_at_cse.psu.edu>
Date: 1998/01/24
Message-ID: <6adh0f$4jb$1@tholian.cse.psu.edu>#1/1

In article <6a80rr$a3t$5_at_nntp2.ba.best.com>, Jordan Redner <jordan_at_webnex.com> wrote:
>Has anyone out there got OraPerl 2.4 working with Oracle8 on a
>Solaris platform?

No, but there have been reports of success with the Perl5 DBI/DBD::Oracle modules. DBD::Oracle includes an Oraperl emulation module.

#!/usr/bin/perl -w
use strict;
use Oraperl;

my $sql = q/SELECT 'Happy Perl''ng' FROM dual/;
my $lda = ora_login('','scott','tiger') or die $ora_errstr;
my $csr = ora_open($lda, $sql) or die $ora_errstr;
my @row = ora_fetch($csr) or die $ora_errstr; print "@row";
ora_close($csr) or die $ora_errstr;
ora_logoff($lda) or die $ora_errstr;
John
groenvel_at_cse.psu.edu Received on Sat Jan 24 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US