in reply to Secure ways to use DBI?
Many backends or the libraries they interface to will allow specifying connection information in environment variables. Another alternative would be to ask the user. You could also read it from a file, possibly encrypted, but that could easily be subverted by running the code with the debugger.
|90% of every Perl application is already written. ⇒|