in reply to Re: DBI timeout
in thread DBI timeout

Thanks, thats exactly what I needed. Plus, I can use the subroutine to print a nice error message in the HTML output.