From: Ævar Arnfjörð Bjarmason Date: Fri, 21 May 2010 15:22:14 GMT Subject: Re: [PATCH] perl shebangs: Use /usr/bin/env, not /usr/bin/perl Message-ID: In-Reply-To: On Fri, May 21, 2010 at 15:15, Peter Kjellerstedt wrote: > This does not work. You cannot give arguments to an application > started via /usr/bin/env; it will interprete everything after > /usr/bin/env as the application name and fail with: Doh'oh. You're right of course. I just tested it on the command-line and by executing the scripts (Perl interprets the shebang itself): $ /usr/bin/env perl -w -le 'print $^W' 1 However. Isn't Perl 5.6 the lowest version Git aspires to be compatible with anyway? If that's the case they can just be changed to 'use warnings' across the board.