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

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

Thread Previous | Thread Next
Craig A. Berry
July 26, 2009 17:03
Re: [perl #67880] #!perl -CS again
Message ID:
On Sun, Jul 26, 2009 at 8:21 AM, Dave Mitchell<> 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:

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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About