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


in reply to Hide DBI password in scripts

There's probably a better way. Take a look at Accessing passwords in a script and How can a script use a password without making the password visible?. They might help you find a solution.

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks