Subject: | Re: Unix.pm make_executable and $Config{startperl} (line 20) |
Date: | Mon, 2 Oct 2017 12:48:25 +1000 |
To: | bug-ExtUtils-Helpers [...] rt.cpan.org |
From: | Clark Kent <smallville7123 [...] gmail.com> |
{#!$^X$1}
On 2 October 2017 at 12:39, Clark Kent <smallville7123@gmail.com> wrote:
Show quoted text
> could u possibly change $Config{startperl} to $^X if $Config{startperl}
> contains a relative path, for example startperl='#!./perl/bin/perl' , as
> changing it to $^X inserts the correct shebang/hashbang for the
> make_executable to succeed even if the perl is set up to be relocatable
> unless a hardcoded path is explicitly set as startperl, for example
> startperl='#!/UPM/Code/Files/perl/bin/perl'
>