Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Slightly OT: Perl Q.
> 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
![]() |
![]() |