On Thu, Aug 05, 2004 at 03:26:34AM -0000, Steve Peters wrote: > The problem is that an local environment variable set in an anonymous block > seems to be available to child processes created afterwards using qx(). I > have not tested this using system() or fork(). See the example scripts > below. I tried the supplied scripts, but didn't get the results you describe. I get: [martyn:0]$ PATH=$PATH:/tmp /tmp/test1.pl In BLOCK1, $ENV{WANGO} = [undef] In BLOCK2, $ENV{WANGO} = [FOTANGO] In BLOCK3, $ENV{WANGO} = [undef] Please retry them in a separate session; I have to imagine that you have "WANGO" set in your environment, or similar. Mx.