in reply to core dump after DBI-disconnect

Use use instead of require. And use strict, too. These might make your problem magically go away (no guarentees, though).