On Nov 22, 2009, at 9:46 AM, Harald Falkenberg wrote:
Hello,
due to migration a bulk of perl scripts to another web server, I
need to prepare perl module DBD::Oracle to run properly against
oracle databases although the ORACLE_HOME value has changed.
How and where I can hard code the suitable ORACLE_HOME env variable
in the sources of the DBD::Oracle module?
The module alreadz works fine on the new server, but I cannot reset
ORACLE_HOME in every perl script.
Regards and thank you for your help in advance
If you're running Apache2 on the new web server you can set
environment variables like ORACLE_HOME via httpd.conf.
This is how we do it.
--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group
Institutions do not have opinions, merely customs