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

Re: use oracle home in script

by Perlbotics (Canon)
on May 24, 2012 at 20:30 UTC ( #972315=note: print w/ replies, xml ) Need Help??


in reply to use oracle home in script

You are setting Perl-variables, not environment variables. So as a quick remedy, you could set

$ENV{ORACLE_HOME}="/u01/app/oracle/product/10.2.0.4"; ...
and so on. See perlvar (%ENV).

Long term approach would be to start using DBI and DBD::Oracle. There are also some PM tutorials: Database Programming available.


Comment on Re: use oracle home in script
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-07-06 06:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls