in reply to Database connection

Search cpan for Config

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.