You would be far better off getting it added to the webserver configuration.
That way when a new version of Oracle is installed ORACLE_HOME only has to
change in one place.
To see how to change an environment variable in a script, run 'perldeoc
perlvar' and search for %ENV.
--
Mac :})
** I normally forward private database questions to the DBI mail lists. **
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "Antonio Hern�ndez" <[EMAIL PROTECTED]>
To: "'Sikkandar Dulkarnai'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, April 30, 2001 4:25 AM
Subject: RE: DBD-Oracle
How can I define the ORACLE_HOME in the script?
-----Mensaje original-----
De: Sikkandar Dulkarnai [mailto:[EMAIL PROTECTED]]
Enviado el: Monday, April 30, 2001 12:38 PM
Para: Antonio Hern�ndez; [EMAIL PROTECTED]
Asunto: RE: DBD-Oracle
Define the ORACLE_HOME either in your Web server or in your script. I had
the same problem and it was OK when I define the ORACLE_HOME in httpd.conf
(Apache) ...