Geoffrey Young wrote:

William A. Rowe, Jr. wrote:

Both lib/Apache/TestConfig.pm and lib/Apache/TestUtil.pm twist off their
own shebang lines from $Config{perlpath}, which is wrong.


I think part of this stems from this

  http://www.gossamer-threads.com/lists/modperl/dev/86017

Mike's patch used the original $Config{perlpath}, so no change there.

They should simply pull $Config{startperl} which defines the
shebang/command
on a platform basis.  See startperl= assignment from Config.pm.

You mean using $Config{startperl} instead of the hardcoded #!/usr/bin/perl when the path is too long? I think that value makes no difference. At least not according to these resources:

    # see: http://en.wikipedia.org/wiki/Shebang
    # http://homepages.cwi.nl/~aeb/std/shebang/

If you have better ideas that would be wonderful :)


--
_____________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED]  http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book       http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/

Reply via email to