From: Renee Baecker Date: Tue, 7 Oct 2008 08:17:22 +0000 (+0200) Subject: [perl #59652][DOC PATCH] "Too late for "-CS" option" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=618078e967a6042b7f62ba9589c448bf625a3bed;p=p5sagit%2Fp5-mst-13.2.git [perl #59652][DOC PATCH] "Too late for "-CS" option" Message-ID: <48EAFEF2.8030403@smart-websolutions.de> (tweaked) p4raw-id: //depot/perl@34696 --- diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 1b8f1a0..aea7998 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -341,6 +341,11 @@ that enabled the use of Unicode-aware "wide system call" Win32 APIs. This feature was practically unused, however, and the command line switch was therefore "recycled".) +B Since perl 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>