in reply to (Moose)? $dbh or DBI connection info - how to abstract
I use both, as I need to pass in a pre-existing dbh for testing but might want to create a different database connection in other situations.