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


in reply to Re: Quick DBI Fail Question
in thread Quick DBI Fail Question

If you set RaiseError in the connection, it will die and print automatically - you don't need to specifically trap or print them. See Carp for how to make the errors appear in a browser.