New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Too late for "-CS" option" #9511
Comments
From simon.perreault@viagenie.caCreated by simon.perreault@viagenie.caThis is a bug report for perl from simon.perreault@viagenie.ca, ----------------------------------------------------------------- $ cat >test.pl Perl Info
|
From module@renee-baecker.dequoting from perl5100delta ( The -C option can no longer be used on the #! line. It wasn't working |
module@renee-baecker.de - Status changed from 'new' to 'resolved' |
From renee.baecker@smart-websolutions.deHi, attached is a small documentation patch that adds a hint that -C can no Cheers, |
From renee.baecker@smart-websolutions.deperlrun.patch--- perlrun.pod.orig 2008-10-07 08:11:34.000000000 +0200
+++ perlrun.pod 2008-10-07 08:13:36.000000000 +0200
@@ -341,6 +341,11 @@
This feature was practically unused, however, and the command line
switch was therefore "recycled".)
+B<Note:> In Perls later than 5.10.0 the -C option can no longer be used
+on the #! line. It wasn't working there anyway, since the standard streams
+are already set up at this point in the execution of the perl interpreter.
+You can use binmode() instead to get the desired behaviour.
+
=item B<-c>
X<-c>
|
From @ap* <simon.perreault@viagenie.ca> [2008-10-07 10:50]:
This is not a bug in perl, it’s a bug in your shebang line. The use open qw( :std :encoding(UTF-8) ); Regards, |
From @nwc10On Tue, Oct 07, 2008 at 02:57:20PM +0200, Aristotle Pagaltzis wrote:
It's not a bug in that it's behaving as documented. I have some idea how it might be made to work, if someone else with time Nicholas Clark |
From @rgs2008/10/7 Renée Bäcker <renee.baecker@smart-websolutions.de>:
Thanks, applied. |
Migrated from rt.perl.org#59652 (status was 'resolved')
Searchable as RT59652$
The text was updated successfully, but these errors were encountered: