On Sat, Jul 03, 2010 at 09:06:23PM -0400, George Greer wrote: > On Thu, 1 Jul 2010, Nicholas Clark wrote: > > >Yes, I think it's wrong to assume that there is a $PATH perl at all. > > > >I'm not sure how to remove that assumption on Win32 - I don't know how > >process invocation works. I also don't know whether it's viable to simply > >invoke a batch script. > > There does not appear to be any indication in the environment of the batch > file that it is executing in the context of tests from the perl core, so I Odd. I thought that $ENV{PERL_CORE} was set to true in the environment of the test. (There's an exception list in t/TEST, and ../cpan/Test-Harness is not in it) > patched the batch file to locate perl.exe itself. There is a small danger > that it could locate an errant perl.exe for a CPAN install (it just checks > "../../perl.exe"). I'd feel more comfortable if we could work out how to get PERL_CORE into its environment, and use that as a test, if practical. Nicholas ClarkThread Previous | Thread Next