https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26658

--- Comment #7 from David Cook <[email protected]> ---
(In reply to David Cook from comment #4)
> Agreed. I think that the env version allows for more flexibility and power,
> but I think that we should keep the shebangs consistent in Koha. (Otherwise,
> we might start up some Perl code using /opt/perl-new/bin/perl, which then
> invokes other code using /usr/bin/perl.)

Actually, David, your concern might be unfounded.

Based on the following:
https://metacpan.org/release/Plack/source/lib/Plack/App/CGIBin.pm
https://metacpan.org/release/Plack/source/lib/Plack/App/WrapCGI.pm

You can see that Perl files aren't invoked by the exec() function, and instead
are turned into anonymous functions via CGI::Compile. At a glance, it seems
like the shebang in a CGI script is irrelevant for Plack...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to