On 10 May 2018, at 17:06, Todd Rinaldo wrote:

>> On May 10, 2018, at 1:51 PM, Dave Jones <[email protected]> wrote:
[...]
>>
>> I think the safest way to handle this is to leave the script as it was a 
>> couple of days ago and on those systems that have perl in a different place, 
>> launch it with the full path to perl with the script as an arg:
>>
>> /usr/local/bin/perl masscheck.pl
>
> ExtUtils::MakeMaker should switch any #! it finds with the perl that invoked 
> Makefile.PL as it installs it. The catch is that the #! has to match 
> /^#!\S+perl/

More precisely...

The Makefile(s) generated by ExtUtils::MakeMaker will include targets that 
switch any #! it finds in targets defined in Makefile.PL with the path of the 
perl that ran Makefile.PL OR was specified as an option when running 
Makefile.PL. The #! line has to match /^#!\S+perl/

Nothing under t/, xt/, or masses/ is a make target defined in Makefile.PL. They 
are all untouched by ExtUtils::MakeMaker or make because they have no target 
definitions in Makefile.PL.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to