DBI selectrow_array with hash attr parameter

DBI selectrow_array with hash attr parameter

am 10.07.2006 15:12:49 von abc49

Hi,
I want to use the DBI selectrow_array statement with Oracle.

How can I supply the prepare attribs to this function ?

I tried:

%attr=(name=>test);
$sth = $dbh->prepare_cached("select 1 from TEST where name=:name",
\%attr);

But it results in "ORA-01008 : Not all variables have a value"
Whats wrong with the statement ?

Regards