develooper Front page | perl.perl5.porters | Postings from March 2001

RE: [PATCH h2xs.PL perl@9423] h2xs -w nits

Thread Previous | Thread Next
From:
Paul Marquess
Date:
March 29, 2001 04:32
Subject:
RE: [PATCH h2xs.PL perl@9423] h2xs -w nits
Message ID:
002701c0b84c$2c3d1600$07bdfea9@bfs.phone.com
From: Jonathan Stowe [mailto:gellyfish@gellyfish.com]

> I inadvertently added a -w when editing the shebang line of the latest
> h2xs - I thought I would fix the warnings rather than remove it :)

Why not add a C<use warnings> instead?

> 
> --- utils/h2xs.PL~	Thu Mar 29 07:41:19 2001
> +++ utils/h2xs.PL	Thu Mar 29 09:25:39 2001
> @@ -26,7 +26,7 @@
>  # You can use $Config{...} to use Configure variables.
> 
>  print OUT <<"!GROK!THIS!";
> -$Config{startperl}
> +$Config{startperl} -w
>      eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}'
>  	if \$running_under_some_shell;
...

Paul

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About