startperl/perlpath

[email protected] (Nicholas Clark) Thu, 11 Aug 2005 12:02:50 +0100
Newsgroups perl.ponie.dev
Message-ID <[email protected]>
Ponie now sets $Config::Config{startperl} and $Config::Config{perlpath}
to .../ponie, correctly reflecting the installed location of the binary.


This proved somewhat trickier than expected, as I had to track down why
tests seemed to be randomly failing. It's caused by the code in perl to
emulate /bin/sh's redispatch of #! lines, which assumes that if the
#! line doesn't match /perl/, then the executable specified should be
called instead. This causes "fun" when .../bin/ponie isn't yet installed.

I think that this might have been part of the problem with MakeMaker not
wanting to build and install. For me, the CPAN shell was able to download,
build, test and install a new MakeMaker without problems.

Nicholas Clark