Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Oracle database connection

by Grygonos (Chaplain)
on Dec 06, 2004 at 21:46 UTC ( #412765=note: print w/replies, xml ) Need Help??


in reply to Oracle database connection

DBD::Oracle , DBD::ODBC I'm not that familiar with Oracle but if its really an environment variable ala
$ENV{'ORACLE_HOME'}
then can you not just
ENV{'ORACLE_HOME'} = /some/path/up/the/tree
?

Replies are listed 'Best First'.
Re^2: Oracle database connection
by xorl (Deacon) on Dec 06, 2004 at 21:55 UTC
    You can do something like this for the script:
    BEGIN { $ENV{ORACLE_HOME} = "E:\\Oracle\\Ora92\\"; } # See man page for DBD::Oracle and seeting of ENV variables.

    In this case I was on a Windoze box, but it works the same on *nix

    To make DBD::Oracle work I needed to have Oracle installed.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2023-12-07 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (33 votes). Check out past polls.

    Notices?