I generally put such things in a config file.

On Tue, Feb 15, 2011 at 11:45 PM, Ivan Shmakov <i...@main.uusia.org> wrote:

>        BTW, what is the best current practice to pass ->connect ()
>        $password to a command-line Perl script?
>
>        Both specifying it via a command-line argument or via an
>        environment variable (DBI_PASS) is insecure, as on some systems
>        this information could easily be seen by the other users on the
>        same host.
>
>        Perhaps, some variation on Net::Netrc should be used instead?
>
>        My primary interests currently are PostgreSQL, which can use
>        Kerberos, and SQLite, which uses filesystem access rights
>        instead, but just for the case…
>
> --
> FSF associate member #7257
>



-- 
Check out my LEGO blog at http://www.brickpile.com/
View my photos at http://flickr.com/photos/billward/
Follow me at http://twitter.com/williamward

Reply via email to