Yes, as far as I can tell the environment is clean. No PERL or PAR variables at all.
I can tell from a ProcMon log that it got as far as writing the perl58.dll and the static binary. It successfully spawns the child process and loads the linked system dlls and the perl58.dll from the temp directory. It pokes around in the registry, finding nothing of interest, then proceeds to attempt to load File\Temp.pmc from the original working directory, which fails. The File::Temp complaint appears to be coming from the END block that handles --clean. This makes me suspicious that the unpacking of bundled modules failed for some reason. I think there must have been a failure earlier in par.pl that is not being reported, but causes an unwind to start. My next approach is going to be to sprinkle logging throughout par.pl to see if I can tell how far it is getting before dying. Clearly we need a bit more error handling/reporting in this code. I'll report back once I figure out where it's hitting the error. --Scott -----Original Message----- From: Bob Davis [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 1:30 PM To: Scott Stanton Cc: Steffen Mueller; par@perl.org Subject: Re: interference from the registry on Windows You have checked the obvious PERL5LIB environment var? Scott Stanton wrote: > This is a basic perl-5.8.8 distribution. ActivePerl has the same issue, > but it checks two different locations (HKLM\Software\Perl and > HKLM\Software\ActivePerl). > > After further investigation, I'm not sure this is really the problem I'm > seeing, although it is a potential issue. The actual symptom is that > the user starts the program (from the command line), and it unpacks > perl58.dll launches the internally packed .exe, then fails complaining > that it can't "locate File/Temp.pm in @INC (@INC contains: .)" > > The packed app seems to work for other people without trouble, so I'm > not sure what it is about this user's configuration that triggers the > problem. > > --Scott > > -----Original Message----- > From: Steffen Mueller [mailto:[EMAIL PROTECTED] > Sent: Monday, December 08, 2008 12:19 PM > To: par@perl.org > Subject: Re: interference from the registry on Windows > > Hi Scott, > > Scott Stanton wrote: > >> Has anyone else run into this before? Does anyone know of a way to >> suppress this behavior in Perl? >> > > no, never. I agree it shouldn't happen in a PAR context. What > distribution of Perl is this originally? > > Cheers, > Steffen >