<html>#2811: Formaline Optionally use non-system Perl
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Yosef Zlochower</td></tr>
<tr><td style='text-align:right'> Status:</td><td>open</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'> Version:</td><td></td></tr>
<tr><td style='text-align:right'> Type:</td><td>proposal</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>Cactus</td></tr>
</table>
<p>Comment (by Roland Haas):</p>
<p>Cactus' build system uses the <code>make</code> (and thus shell) variable <code>$PERL</code> for the location of the configured Perl interpreter. This cannot quite be used in the <code>#!</code> line since that line does not do variable expansion. </p>
<p>We also cannot use any options of <code>env</code> other than the ones in POSIX: <a data-is-external-link="true" href="https://pubs.opengroup.org/onlinepubs/9699919799/utilities/env.html" rel="nofollow">https://pubs.opengroup.org/onlinepubs/9699919799/utilities/env.html</a> so <code>-S</code> is not possible (though it does seems to be supported on Linux and macOS). Otherwise using something like <code>env -S ${PERL} -w</code> would be great.</p>
<p>Instead the Cactus make files run perl scripts as <code>$PERL foo.pl</code> and the scripts should use <code>use warnings;</code> instead of the <code>-w</code> switch.</p>
<p>Is that something that you could give a try? I am not sure what other scripts in Formaline exist that are directly called and not already via <code>$PERL</code>.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/2811/formaline-optionally-use-non-system-perl'>https://bitbucket.org/einsteintoolkit/tickets/issues/2811/formaline-optionally-use-non-system-perl</a></p>
</html>