in reply to Re^3: DBI: pass $dbh from a sub
in thread DBI: pass $dbh from a sub

yes, this was fixed some time ago, the Changes file in the DBI distribution says...
 Changes in DBI 0.91,	10th December 1997
  ...
  DBI->connect(..., { RaiseError=>1 }) now croaks if connect fails.
  ...