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


in reply to Setting up database connection in tests

Perhaps Test::Database can do what you want? I think it can do database setup and tear-down for testing.