From: Jarkko Hietaniemi Date: Thu, 29 Mar 2001 14:42:58 +0000 (+0000) Subject: use warnings instead of -w. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1dea82101a63718e53cc60bcb31614bc42ddebd7;p=p5sagit%2Fp5-mst-13.2.git use warnings instead of -w. p4raw-id: //depot/perl@9440 --- diff --git a/utils/h2xs.PL b/utils/h2xs.PL index 425704b..932e015 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