my $dbh = DBI->connect( 'connect string','user','pass', {RaiseError=>1, HandleError => \&bail_out}, };