in reply to Re^3: File::Slurp bug? Should I bother?
in thread File::Slurp bug? Should I bother?
I just experimented a little using
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
-> sysread convert CRLF to LF.
This is perl, v5.8.0 built for MSWin32-x86-multi-thread
-> sysread does **not** convert CRLF to LF.
Both are ActiveState builds.
Apparently, sysopen/sysread's behaviour changed in 5.8 wrt to CRLF conversion. It used to convert, but now it doesn't. I don't see this mentioned in Perl 5.8's perldelta or anywhere else. It seems to be an (unintentional?) side-effect of switchting to PerlIO.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: File::Slurp bug? Should I bother?
by chester (Hermit) on Sep 07, 2005 at 18:30 UTC |