On Fri Nov 05 05:20:09 2010, ntyni@debian.org wrote: > While the other -C settings are global, "i" and "o" only affect > subsequent > open() calls in the current file. This seems to be working as > designed, > judging by the names HINT_LEXICAL_IO_IN and HINT_LEXICAL_IO_OUT in > the code, but it's not currently documented and may cause surprising > behaviour. > > The attached suggested patch documents the scoping and adds two tests > to make sure the documented behaviour doesn't change accidentally. Thank you. Applied as 88770b4. > > Reported by Joey Hess in http://bugs.debian.org/373698 > > Also reported by Frank Krout as [perl #23199], which was closed > because > "the -C option on the shebang line is no longer supported." See also [perl #67880].Thread Previous