in reply to prepare_cached for DBI::Oracle

my $sql = 'select foo from bar'; my $sth; unless ($sth = $dbh->prepare_cached($sql)) { #raise an error, finish with this statement }
Sorry if this is too simplistic - can you provide any more detail of the problem?

andy.