summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/h2xs.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL
index 425704bd81..932e015433 100644
--- a/utils/h2xs.PL
+++ b/utils/h2xs.PL
@@ -26,7 +26,7 @@ print "Extracting $file (with variable substitutions)\n";
# You can use $Config{...} to use Configure variables.
print OUT <<"!GROK!THIS!";
-$Config{startperl} -w
+$Config{startperl}
eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}'
if \$running_under_some_shell;
!GROK!THIS!
@@ -35,6 +35,8 @@ $Config{startperl} -w
print OUT <<'!NO!SUBS!';
+use warnings;
+
=head1 NAME
h2xs - convert .h C header files to Perl extensions