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

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

Thread Previous | Thread Next
From:
Craig A. Berry
Date:
July 26, 2009 17:03
Subject:
Re: [perl #67880] #!perl -CS again
Message ID:
c9ab31fc0907261703j5ab0bc43i8d0c9f28697c804b@mail.gmail.com
On Sun, Jul 26, 2009 at 8:21 AM, Dave Mitchell<davem@iabyn.com> wrote:
> On Sat, Jul 25, 2009 at 11:46:43AM -0700, Father Chrysostomos wrote:
>> perl 5.10.0 dies if -C occurs on the #! line. This was to avoid the
>> problem of the options being present but not doing anything (see
>> #34087). But this breaks many existing programs that were relying on
>> the kernel to read the first line and pass the switch to perl.
>>
>> The attached patch changes perl to die only when the #! switch differs
>> from the command line switch.
>>
>> Since this is a 5.10 regression, is there any chance it could make its
>> way into 5.10.1?
>
> Since the only side-effect is to sometimes not croak when it formerly
> would have done, I decided it was safe enough for 5.10.1.

Unless I'm misreading this smoke report:

http://www.nntp.perl.org/group/perl.daily-build.reports/2009/07/msg71587.html

something may have broken on Windows related to this.  I don't have a
Windows build system to sort out what.

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