Stas Bekman wrote:
William A. Rowe, Jr. wrote:
What I'm trying (failing?) to point out is that on BSD and other platforms, if
they have a bug, they can munge *PERL*, not ApacheTest, not each and every perl
script which creates perl files, with an effective value of $Config{startperl}.
What you are missing Bill, is that there is no bug in perl or perl
installation. It's a shell limitation documented here:
# see: http://en.wikipedia.org/wiki/Shebang
# http://homepages.cwi.nl/~aeb/std/shebang/
Right - I'm not disagreeing with the problem, I'm stating $Config{startperl}
when used by every program against your perl is either right, or it's wrong.
When Wrong, it's wrong for every program. Ergo; bug is MakeMaker's to fix,
not ours, and...
I don't have a BSD box in front of me; but if ApacheTest used
$Config{startperl}
rather than all of this other mechanics, then it would be up to BSD folks
to help the entire Perl community by fixing this ONCE with MakeMaker,
and be
done with it. By messing with constructing what MakeMaker's done
since 5.0005
we are putting more work on ourselves, no?
I think there are two somewhat unrelated issues that are being discussed
here -
1) using $Config{startperl} vs $Config{perlpath},
2) the issue with shebang code generation
...startperl is declared with a shebang, perl -e "print $Config{startperl};"
in your own environment :) So the two are -one-in-the-same-
I think Geoff is thinking that Bill is suggesting to tackle #1, whereas
Bill is only talking about #2.
I'm stating use startperl; both of you want the shebang bug (not ours) fixed,
so as I...
Bill, mind to post a patch of what you think should work?
Yes, revert this patch, and replace these lines with = $Config{startperl}.
When I have a clean patch against head I'll post it. I'll also look at the
state of MakeMaker to see if this issue -was- addressed there.
...propose to throw away the gross hack, it's only fair if I show you also the
perl patch to create a *valid* MakeMaker $Config{startperl} result for those
on these shebang-constrained platforms. Let's fix the bug, not a symptom.
Bill