RE: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-16 Thread Berg, Eric
g/docs/2.0/user/troubleshooting/troubleshooting.html#C_Libraries_Don_t_See_C__ENV__Entries_Set_by_Perl_Code <<<<<<<<<<<<<<<<<<<<<<<< Thanks. Eric > -Original Message- > From: Torsten Foertsch [mailto:[EMAIL PR

Re: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-16 Thread Torsten Foertsch
On Sat 16 Aug 2008, Berg, Eric wrote: > > Now, the environment is a process global resource. So, if > > those values are changed all threads are affected. This is surely > > no what you want. > > When you say that the environment is a global process, global to > what?  Each forked process has its o

RE: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-16 Thread Berg, Eric
t my experimentation showed up anyway. Eric > -Original Message- > From: Torsten Foertsch [mailto:[EMAIL PROTECTED] > Sent: Friday, August 15, 2008 3:15 PM > To: modperl@perl.apache.org > Cc: Berg, Eric > Subject: Re: mp2, IPC::Run3 && Environment Variables givi

Re: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-15 Thread Torsten Foertsch
On Fri 15 Aug 2008, Berg, Eric wrote: > This issue of the environment variables' not being passed to forked > processes is turning into a fairly substantial problem for me.   We > have a number of places in our code -- both the modules that are > tightly controlled and fairly easy to manage, as wel

RE: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-15 Thread Berg, Eric
. Eric. > -Original Message- > From: André Warnier [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 12, 2008 10:59 AM > To: modperl@perl.apache.org > Cc: Berg, Eric > Subject: Re: mp2, IPC::Run3 && Environment Variables giving > "variable not set&quo

Re: mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-12 Thread André Warnier
Berg, Eric wrote: [...] I don't know the exact answer to your question, but assuming you are in a Unix environment, you could try the following : In a Unix-like environment, if you launch a command using the following form : VAR1=value1 VAR2=value2 command then VAR1 and VAR2 are automatical

mp2, IPC::Run3 && Environment Variables giving "variable not set" error

2008-08-11 Thread Berg, Eric
Hey, folks, As the migration to the Apache2/mp2/perl-5.10 server progresses, I just ran into something that I'm not quite understanding. I've got a module that gets information from a program using IPC::Run3. This script relies on a number of environment variables, which I've been setting success