On Mon, Jun 10, 2002 at 09:48:36PM +0100, Nicholas Clark wrote: > On Mon, Jun 10, 2002 at 08:16:12PM +0100, Nick Ing-Simmons wrote: > > Jarkko Hietaniemi <[EMAIL PROTECTED]> writes: > > > >Ummm, well, I guess that would work too, but wouldn't the "binmode(FH) > > >means an implicit :bytes (if available)" what you suggested earlier be > > >even better? > > I like this best. To me, unadorned binmode means as raw as possible. > (For example; I'd thought that the Storable tests were portable to DOSish > systems, so it was somewhat surprising seeing Jarkko needing to patch them > to make them work properly on Unix)
I know some people who would argue that in using Unicode UNIX has forsaken the One True Way of files being just streams of bytes... > Can we write that > > open(FH,">:encoding(Xxxx):lf",$file) > > or something like that, with a second layer to say "no crlf" ? There be minefields. Line endings are a big mess and the less we marry perlio with it, the better... -- $jhi++; # http://www.iki.fi/jhi/ # There is this special biologist word we use for 'stable'. # It is 'dead'. -- Jack Cohen
