Randy Kobes wrote:
> On Thu, 1 Jul 2004, Stas Bekman wrote:
>
>
>>Randy Kobes wrote:
>>
>>
>>>Another way to get the test as written
>>>to pass is is to open the file in binary mode:
>>
>>I'm now not sure what's going on win32, <fh> removes \r
>>but sendfile not?
>
>
> That's right - if you open a text file on Win32 without
> binmode, the \r are removed, and if binmode is used,
> they stay.
Thanks for the explanation, Randy.
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
|