Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Hide DBI password in scripts

by afoken (Chancellor)
on Jan 13, 2018 at 13:08 UTC ( [id://1207194]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $db=DBI->connect("DBI:Oracle:sid=$DBSID;host=$DBHOST;port=$DBPORT;","$
    +DBUSER",`/path/shared_C_program`) || ($err=$db->errstr);
    
  2. or download this
    /tmp>cat password-keeper.c
    #include <stdio.h>
    ...
    26962 +++ exited with 0 +++
    
    /tmp>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1207194]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-17 05:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found