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
From:
George Greer
Date:
July 1, 2010 21:12
Subject:
Re: Smoke [5.13.2] v5.13.2-131-gf507d6f FAIL(F) MSWin32 Win2000 SP4(x86/1 cpu)
Message ID:
alpine.LFD.2.00.1007012250020.31539@ein.m-l.org
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.

I'm thinking I'll have to insert debugging statements to see what it is 
really executing, from where, and what the environment is.  Not today, 
however.

%PATH% in Win32 is more or less like $PATH in Unix, except for "." being 
implicit.

> [Mmmm, is that test also assuming that /usr/bin/perl exists on *nix. I wonder
> if I can break that assumption]

Looks like the test itself tries to use $^X (as $perl) on a prefix call 
without using the $PATH.

-- 
George Greer


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About