in reply to Secure ways to use DBI?
If you're using MySQL, take a look at .my.cnf and the other options file (described at the link). I think you can put the password in there and then chmod 600 it.
In Section
Seekers of Perl Wisdom
in reply to Secure ways to use DBI?