Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: DBI HandleError statement display

by axelrose (Scribe)
on Aug 09, 2002 at 09:03 UTC ( [id://188847]=note: print w/replies, xml ) Need Help??


in reply to DBI HandleError statement display

Tim helped again -- here is the solution:
my $options = { RaiseError => 1, PrintError =>1 }; my $dbh = DBI->connect( $dsn, $username $password, $options ) or die; $dbh->{ShowErrorStatement} = 1; $dbh->{HandleError} = sub { Carp::Confess( $_[0] };

Carp::Confess( @_ ) gives warning within Carp itself ...

Display of bind parameters is scheduled for the next release of DBD::Oracle. Tim published a patch in the dbi-users mailing list for DBD::Oracle version 1.12.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://188847]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2025-07-11 11:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.