DBI selectrow_array with hash attr parameter

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
abc49 [ Mo, 10 Juli 2006 15:12 ] [ ID #1386519 ]
Perl » de.comp.lang.perl.misc » DBI selectrow_array with hash attr parameter

Vorheriges Thema: Substitution-Probleme
Nächstes Thema: Zeilen bedingt zusammenfassen (Anfaengerfrage?)