>>>>> "GH" == Gunnar Hjalmarsson <> writes:
GH> Ben Morrow wrote:
>> If you are printing binary data to a filehandle you need to use
>> binmode. Yes, you need to use binmode on all platforms now.
GH> "Now"? Has something changed? In that case, where is that
GH> change documented?
In the past, printing binary data to files that did not have binmode
set often worked by accident. As soon as you introduce IO filters and
various encodings, that "by accident" is much less likely to happen.
The way to guarantee correct behavior is to use binmode when you are
printing binary data. That has not changed.
Charlton
--
Charlton Wilbur