[Koha-devel] Inconsistent Perl shebangs (new coding guideline?)

Mason James mtj at kohaaloha.com
Tue Oct 13 09:32:38 CEST 2020


On 13/10/20 12:19 pm, dcook at prosentient.com.au wrote:
>
> Hi all,
>
> I was looking at “Bug 20582 - Turn Koha into a Mojolicious application” when I noticed that some of the scripts were using “#!/usr/bin/env perl” instead of “#!/usr/bin/perl”. While there is no requirement in the Coding Guidelines to use “#!/usr/bin/perl”, I thought it would be best for all our Perl scripts to be consistent.
>
>
...
>
> Also, do people think there is a point in repairing existing Koha Perl scripts that have ‘#!/usr/bin/env perl’ instead of ‘#!/usr/bin/perl’?
>

+1 for /usr/bin/env


More information about the Koha-devel mailing list