Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Connecting to an instance after spliting it with a regexe

by jo5621 (Initiate)
on Jul 28, 2014 at 21:18 UTC ( [id://1095431]=note: print w/replies, xml ) Need Help??


in reply to Re: Connecting to an instance after spliting it with a regexe
in thread Connecting to an instance after spliting it with a regexe

Thanks for pointing me to the right direction, actually what I wanted to do was your first hint and about how do i encrypt passwords? I do that running the environment variable on the code (a code I didn't write) , connecting into the DB it's next thing I wan to figure out, now that I already get the password through command sqlplus from unix with format "user/pass@instance"

{ my $output = `~/prod/alert/bin/Enc3DesUtils DEC $2`; print "$output\n"; }

Replies are listed 'Best First'.
Re^3: Connecting to an instance after spliting it with a regexe
by Anonymous Monk on Jul 28, 2014 at 22:02 UTC

    To connect to a database what you'll need is DBI and the appropriate driver, which in your case I'm assuming is DBD::Oracle. There are plenty of tutorials online about DBI, here's something from an O'Reilly book (might be a little dated). It seems to me that in your case DBI is probably the way to go. For more advanced database access and ORM, see DBIx::Class.

Log In?
Username:
Password:

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

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

    No recent polls found