Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Hide DBI password in scripts

by afoken (Chancellor)
on Jan 12, 2018 at 23:41 UTC ( [id://1207173]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $secret="(binary garbage here)";
    sub checkSecurity;
    ...
    } else {
        die "Insecure condition found, won't tell you the secret!\n";
    }
    
  2. or download this
    package DBIspy;
    
    ...
            die 'BROKEN';
    }
    1;
    
  3. or download this
    > perl -MDBIspy -E 'use DBI; DBI->connect("dbi:SQLite:","user","passwo
    +rd")'
    DBI
    ...
    BROKEN at DBIspy.pm line 12.
    
    >
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-19 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found