There are examples of procedure calls in the fine DBD::Oracle manual. Run
'perldoc DBD::Oracle' to see it.
There are also more examples in Oracle.ex/ in the source archive
(DBD-Oracle-1.06.tar.gz) which you can download from CPAN.
--
Mac :})
** I normally forward private database questions to the DBI mail lists. **
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "David M. Lloyd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 11:13 AM
Subject: Re: Perl and Oracle...Help??
> On Tue, 10 Apr 2001 [EMAIL PROTECTED] wrote:
>
> > I'm a newbie Perl programmer and I have been looking at the
> > documentation for calling an Oracle package from Perl. From this and
> > with the advice of others here, I wrote some code which I thought
> > would do the trick. I think I'm close but it's just not quite there.
> > Can anyone see what I'm doing wrong?? HELP? Here is my code...
>
> Looks like you forgot a semicolon at the end of
> 'Cursor_Test_Pkg.test_reacom_comp'. Technically it's a PL/SQL error, not
> a DBI or Perl error.
>
> > $pl_sql_1 = "BEGIN
> > Cursor_Test_Pkg.test_reacom_comp
> > END";