Hi, Ron 

my $ORA_SID = $ENV{'ORACLE_SID'}
my ORAC_HOME = $ENV{'ORACLE_HOME'}

should siffice ;)

HTH. Milen 


-----Ursprüngliche Nachricht-----
Von: Smith, Ron L. [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 9. September 2003 15:39
An: Multiple recipients of list ORACLE-L
Betreff: Oracle and Perl


Can anyone tell me how to pick up the $ORACLE_SID or $ORACLE_HOME from
within a Perl script?

Thanks!
Ron Smith
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Smith, Ron L.
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Kulev, Milen
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to