in reply to Database connection
I use Config::Simple a lot.
Make sure the config file is not readable by anyone that shouldn't get to the username / password to the database.