On Thu, Feb 18, 2010 at 7:04 AM, Nicholas Clark <n...@ccl4.org> wrote:
> On Thu, Feb 18, 2010 at 12:00:23PM +0000, David Cantrell wrote:
>> On Thu, Feb 18, 2010 at 11:24:24AM +0000, Nicholas Clark wrote:
>> > On Wed, Feb 17, 2010 at 08:44:57AM -0800, macke...@animalhead.com wrote:
>> > > $^X is simpler, and simpler solutions are preferable.
>> > > Can it be wrong?
>> > Yes.
>> > For starters, it may be a relative path, and the program has already 
>> > changed
>> > directory.
>>
>> I'm not sure that this particular reason is true, at least not with
>> vaguely modern perls:
>>
>> $ ../cpantesting/perl-5.8.9/bin/perl -e 'chdir "../tmp" && print "$^X\n"'
>> /home/david/cpantesting/perl-5.8.9/bin/perl
>
> The code to make $^X absolute only works on Linux, FreeBSD with /proc
> and Win32 IIRC. It should be possible on Solaris 10, but (to my knowledge)
> none of the core committers have access to that to test it.

I didn't really want to enter this discussion, but ... Probe::Perl

It's what M::B does internally and it's available without needing to
mess with the Module::Build object within one's tests.

-- David

Reply via email to