Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: DBI HandleError statement display

by axelrose (Scribe)
on Aug 09, 2002 at 09:03 UTC ( #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 browsing the Monastery: (5)
As of 2023-12-02 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (13 votes). Check out past polls.

    Notices?