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

Re: Too late for -Co

Thread Previous | Thread Next
Rafael Garcia-Suarez
March 26, 2008 01:09
Re: Too late for -Co
Message ID:
On 26/03/2008, Aristotle Pagaltzis <> 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:

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