Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: DBI HandleError statement display

by axelrose (Scribe)
on Aug 07, 2002 at 10:58 UTC ( [id://188277] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $dbh->{HandleError} = sub {
      warn $DBI::lasth->{Statement};
      Carp::confess;
    }
    
  2. or download this
    insert into mytable values ( ?, ? )
    main::__ANON__('DBD::Oracle::st execute failed: ORA-01722:
    ...