read is compatible with <>, but neither is compatible with sysread.
Without careful use of flushing, print and syswrite aren't compatible. Use only one or the other to avoid problems.
You may need to play with the layers if you wish change the LF ⇔ CRLF conversion settings or change the encoding/decoding settings.
Finally and most importantly, you are Suffering from Buffering.
In reply to Re: Mixing sysread() with <FILEHANDLE>?
by ikegami
in thread Mixing sysread() with <FILEHANDLE>?
by wanna_code_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |