At 09:41 AM 2/16/00 -0500, Jordan Henderson wrote:
>I'm wondering if the use of binmode() is really a good idea in any case.
>
>It has no effect on Unix systems.  My guess is that on Windows systems it 
>allows
>reading '\r' for '\n'.  I guess there's a potential for problems in that case
>for quoted strings or something.  I guess I would be surprised if XML was
>dependent on differing whitespace, but I'm no expert here.

It does two things on Windows:

1) It allows reading past a ^Z in a file (which is a good thing :)
2) It disables CRLF->LF translation

Not quite as big a change in behaviour as you get when binmode()ing a 
milti-index RMS file... :)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to