develooper Front page | perl.perl5.porters | Postings from July 2009

Re: [perl #67880] #!perl -CS again

Thread Previous
From:
Dave Mitchell
Date:
July 27, 2009 15:16
Subject:
Re: [perl #67880] #!perl -CS again
Message ID:
20090727221549.GR4204@iabyn.com
On Sun, Jul 26, 2009 at 09:52:23PM -0700, Father Chrysostomos wrote:
> Silly me; I realised later that 5.10.1 would need its own patch. So here 
> is a patch to lend some resonance to my request:

Thanks; as it happens I'd already added a slightly enhanced version to my
own copy of perl5101.delta, which I haven't pushed yet.

> diff -urp maint/pod/perl5101delta.pod maintcopy/pod/perl5101delta.pod
> --- maint/pod/perl5101delta.pod	2009-07-26 05:19:05.000000000 -0700
> +++ maintcopy/pod/perl5101delta.pod	2009-07-26 21:49:38.000000000 -0700
> @@ -1365,6 +1365,14 @@ missed (method cache issue) [RT #60220,6
>  In the 5.10.0 release, a combination of C<use feature> and C<//ee> could
>  cause a memory leak [RT #63110].
>  
> +=item *
> +
> +C<-C> on the shebang line is once more permitted if it is also specified on
> +the command line. C<-C> on the shebang line used to be a silent no-op I<if>
> +it was not also on the command line, so perl 5.10.0 disallowed it, which
> +broke some scripts. Now perl checks whether it is also on the command line
> +and only dies if it is not.
> +
>  =back
>  
>  =head1 New or Changed Diagnostics

>


-- 
You live and learn (although usually you just live).

Thread Previous


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