http://www.perlmonks.org?node_id=201053


in reply to Re: perl DBI help
in thread perl DBI help

Actually, the RaiseError => 1 in his connect routine has this exact effect. (You may want to then wrap your calls in eval, but the die-ing has been accomplished.)