in reply to Strange behaviour with DBD::Oracle

Take a look at the DBI Dynamic Attributes section of DBI. Here you'll find $DBI::err, $DBI::errstr, $DBI::state and others: I suspect this is the type of information you're after (rather than $?).

-- Ken