On 21 Feb 2004 at 20:35, Jesse Schoch wrote:
> FYI the following seems to have worked properly with the current 79_97
> version. One more thing, what are the cases where I can get screwed up with
> the caching?
>
> pp -d -o foo.exe foo.pl
> pp -d -o bar.exe bar.pl
>
> __________ foo.pl ___________
> #!/usr/bin/perl -w
> use Win32::Process;
> # not sure if what to set the TEMP var to.
> #$ENV{PAR_GLOBAL_TEMP} = "";
> #$ENV{PAR_GLOBAL_CLEAN = 1;
> print "ENV: $ENV{PAR_TEMP} \n";
> $envtmp = $ENV{PAR_TEMP};
> delete $ENV{PAR_TEMP};
That last line is a short form of the work-around for 79_97 I mentioned a few days
ago,
deleting all PAR_xxx. With the patch I sent in, you won't have to do that to keep
PAR_TEMP from foo carrying over to bar and messing it up. Nor do you need to restore
it. It has already done it's work.
See my other reply for the remaining gotcha.
Alan Stewart