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

Re: Too late for -Co

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
March 26, 2008 01:09
Subject:
Re: Too late for -Co
Message ID:
b77c1dce0803260109n7305d132o5f213e304176e4c0@mail.gmail.com
On 26/03/2008, Aristotle Pagaltzis <pagaltzis@gmx.de> wrote:
> Yeah, that's why you can't use -M on the shebang line. It's also
>  obvious why you can't use -T, even though that's for a different
>  reason. It's not so obvious why 5.10 has promoted -C to this
>  club, though.

That comes from bug #34087:
http://rt.perl.org/rt3/Public/Bug/Display.html?id=34087

We also have a paragraph on -C in perltodo :

=head2 -C on the #! line

It should be possible to make -C work correctly if found on the #! line,
given that all perl command line options are strict ASCII, and -C changes
only the interpretation of non-ASCII characters, and not for the script file
handle. To make it work needs some investigation of the ordering of function
calls during startup, and (by implication) a bit of tweaking of that order.

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