Reputation: 21
I have a code snippet which has following statement.
$ckr = &ora_open($ldp, $rsp)
Upvotes: -1
Views: 61
Reputation: 164809
That is a very old program. It's using Oraperl
, an old interface to an Oracle database. Now we use DBD::Oracle
. It could also be DBD::Oracle in Oraperl compatibility mode.
It's calling the ora_open
function. &ora_open
is an obsolete way to call functions in Perl. The &
is no longer necessary. &func
and func
have subtle differences.
It's passing in the variables $ldp
and $rsp
and assigning the return value to $ckr
. You can read about what those do in the documentation.
Upvotes: 3