This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Document that the -Ci, -Co, and -CD options have file scope
authorNiko Tyni <ntyni@debian.org>
Fri, 5 Nov 2010 11:59:14 +0000 (13:59 +0200)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 5 Nov 2010 15:38:21 +0000 (08:38 -0700)
commit88770b489c94a85d3383c4ec0452f0c57fc5538a
treee9a954807d386c2ed09fd9ee1e0f2c102e8a488c
parent20f7624e3fd0a2888bfc8c1fd98f11e603f108e9
Document that the -Ci, -Co, and -CD options have file scope

While the other -C settings are global, "i" and "o" only affect subsequent
open() calls in the current file. Document this and add two tests to
make sure the documented behaviour doesn't change accidentally.
pod/perlrun.pod
t/run/switchC.t