develooper Front page | perl.perl5.porters | Postings from June 2019

[perl #134203] [PATCH 2/2] Constant: Fix up shebang

Joshua Watt
June 22, 2019 02:56
[perl #134203] [PATCH 2/2] Constant: Fix up shebang
Message ID:
# New Ticket Created by  Joshua Watt 
# Please include the string:  [perl #134203]
# in the subject line of all future correspondence about this issue. 
# <URL: >

The instructions indicate that the script should be explicitly passed to
"perl -x", so automatically setting the #! to be ^X is unnecessary and
makes the file non-reproducible when building because ^X could be the
absolute path to miniperl.

Signed-off-by: Joshua Watt <>
 cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/
index 14eb809714..d4d074e121 100644
--- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/
+++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/
@@ -219,7 +219,7 @@ sub dogfood {
      Regenerate these constant functions by feeding this entire source file to
      perl -x
-#!$^X -w
+#!/usr/bin/env perl -x -w
 use ExtUtils::Constant qw (constant_types C_constant XS_constant);
2.21.0 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About