diff options
author | Father Chrysostomos <sprout@cpan.org> | 2009-07-26 10:27:42 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-07-26 10:27:42 +0100 |
commit | 4ba71d51f72efb2af8dc9748dd62219261f2e1fd (patch) | |
tree | db33beb1f04b46d1f8f8202b570e72464a23aacd /pod/perlrun.pod | |
parent | f0c5aa00eeb992584d6996af147c4c51fe7a6540 (diff) | |
download | perl-4ba71d51f72efb2af8dc9748dd62219261f2e1fd.tar.gz |
Allow -C on the #! line when it is identical to -C on the command line.
Change from dieing whenever -C is seen on the #! line, to dieing only when it
differs from that on the command line, or was not specified on the command line.
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r-- | pod/perlrun.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod index c3b30c8ad7..994aecb847 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -342,10 +342,10 @@ 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<Note:> 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 +B<Note:> Since perl 5.10.1, if the -C option is used on the #! line, it +must be specified on the command line as well, 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. +You can also use binmode() to set the encoding of an I/O stream. =item B<-c> X<-c> |