develooper Front page | perl.perl5.porters | Postings from July 2010

Re: Smoke [5.13.2] v5.13.2-131-gf507d6f FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)

Thread Previous | Thread Next
Nicholas Clark
July 4, 2010 10:53
Re: Smoke [5.13.2] v5.13.2-131-gf507d6f FAIL(F) MSWin32 Win2000 SP4 (x86/1 cpu)
Message ID:
On Sun, Jul 04, 2010 at 12:12:31PM -0400, George Greer wrote:
> On Sun, 4 Jul 2010, Nicholas Clark wrote:

> >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)
> Ah, I must've been running the test directly.  Under harness there's:
> PERL_CORE=d:\tmp\source\t\perl.exe
> which makes for a much better patch.
> >>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.
> or attached.

Thanks, applied as 08017dae61874ea838912f67e02ec9a1577b9894

I'd forgotten that $ENV{PERL_CORE} is set to $^X
That's a rather useful trick. It seems that it wasn't even the most important
reason to set it to $^X - the main reason was to ensure always set, and always
consistent with tainting:

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About