Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Slightly OT: Perl Q.

Re: Slightly OT: Perl Q.

From: Steven Lembark <lembark_at_wrkhors.com>
Date: Wed, 03 Apr 2002 08:23:26 -0800
Message-ID: <F001.0043A0C3.20020403082326@fatcity.com>

> Hi All (Jared in particular),
>
>
> OS: AIX
> We are trying the following:
>
> We have a script that executes and sets all sorts of environment
> variables. Than after this we execute a perl script that reads the
> environment variables, however the environment variables set in the first
> script are not picked up.
> We tried executing the variables script with [ . script] (dot space
> scriptname) as well but still no luck.
>
> How can we make the perl script pick up these variables?
>
>
> TIA and sorry for the OT but I am not using perl so much as to join
> another mailing list

Not very descriptinve, but obvious things to check are that the variables are exported and the perl code is forked w/in the shell that set the var's.

You'll generally find it less effort to set %ENV in the perl code that then shell. Puts all the issues in one place, and you have better logic in perl anyway.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steven Lembark
  INET: lembark_at_wrkhors.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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).
Received on Wed Apr 03 2002 - 10:23:26 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US